Spaces:
Running
Running
OmPrakashSingh1704
commited on
Commit
•
310269e
1
Parent(s):
808d895
options/Banner_Model/Image2Image.py
CHANGED
@@ -28,6 +28,7 @@ print(f"Using device for I2I: {DEVICE}")
|
|
28 |
# mask = np.where(alpha_channel == 0, 0, 255).astype(np.uint8)
|
29 |
|
30 |
# return img["background"], mask
|
|
|
31 |
|
32 |
def resize_image_dimensions(
|
33 |
original_resolution_wh: Tuple[int, int],
|
|
|
28 |
# mask = np.where(alpha_channel == 0, 0, 255).astype(np.uint8)
|
29 |
|
30 |
# return img["background"], mask
|
31 |
+
MAX_SEED = np.iinfo(np.int32).max
|
32 |
|
33 |
def resize_image_dimensions(
|
34 |
original_resolution_wh: Tuple[int, int],
|
options/Banner_Model/__pycache__/Image2Image.cpython-310.pyc
CHANGED
Binary files a/options/Banner_Model/__pycache__/Image2Image.cpython-310.pyc and b/options/Banner_Model/__pycache__/Image2Image.cpython-310.pyc differ
|
|