Spaces:
Running
Running
OmPrakashSingh1704
commited on
Commit
•
43954b3
1
Parent(s):
eeb4c53
- options/Banner_Model/Image2Image.py +1 -1
- options/Banner_Model/__pycache__/Image2Image.cpython-310.pyc +0 -0
- options/Banner_Model/__pycache__/Image2Image_2.cpython-310.pyc +0 -0
- options/Banner_Model/__pycache__/Text2Banner.cpython-310.pyc +0 -0
- options/Banner_Model/__pycache__/__init__.cpython-310.pyc +0 -0
- options/Video_model/__pycache__/Model.cpython-310.pyc +0 -0
- options/Video_model/__pycache__/__init__.cpython-310.pyc +0 -0
- options/__pycache__/Banner.cpython-310.pyc +0 -0
- options/__pycache__/Video.cpython-310.pyc +0 -0
options/Banner_Model/Image2Image.py
CHANGED
@@ -63,7 +63,7 @@ def I2I(
|
|
63 |
return None, None
|
64 |
|
65 |
pipe = FluxInpaintPipeline.from_pretrained(
|
66 |
-
"black-forest-labs/FLUX.1-
|
67 |
|
68 |
width, height = resize_image_dimensions(original_resolution_wh=image.size)
|
69 |
resized_image = image.resize((width, height), Image.LANCZOS)
|
|
|
63 |
return None, None
|
64 |
|
65 |
pipe = FluxInpaintPipeline.from_pretrained(
|
66 |
+
"black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16).to(DEVICE)
|
67 |
|
68 |
width, height = resize_image_dimensions(original_resolution_wh=image.size)
|
69 |
resized_image = image.resize((width, height), Image.LANCZOS)
|
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
|
|
options/Banner_Model/__pycache__/Image2Image_2.cpython-310.pyc
CHANGED
Binary files a/options/Banner_Model/__pycache__/Image2Image_2.cpython-310.pyc and b/options/Banner_Model/__pycache__/Image2Image_2.cpython-310.pyc differ
|
|
options/Banner_Model/__pycache__/Text2Banner.cpython-310.pyc
CHANGED
Binary files a/options/Banner_Model/__pycache__/Text2Banner.cpython-310.pyc and b/options/Banner_Model/__pycache__/Text2Banner.cpython-310.pyc differ
|
|
options/Banner_Model/__pycache__/__init__.cpython-310.pyc
CHANGED
Binary files a/options/Banner_Model/__pycache__/__init__.cpython-310.pyc and b/options/Banner_Model/__pycache__/__init__.cpython-310.pyc differ
|
|
options/Video_model/__pycache__/Model.cpython-310.pyc
CHANGED
Binary files a/options/Video_model/__pycache__/Model.cpython-310.pyc and b/options/Video_model/__pycache__/Model.cpython-310.pyc differ
|
|
options/Video_model/__pycache__/__init__.cpython-310.pyc
CHANGED
Binary files a/options/Video_model/__pycache__/__init__.cpython-310.pyc and b/options/Video_model/__pycache__/__init__.cpython-310.pyc differ
|
|
options/__pycache__/Banner.cpython-310.pyc
CHANGED
Binary files a/options/__pycache__/Banner.cpython-310.pyc and b/options/__pycache__/Banner.cpython-310.pyc differ
|
|
options/__pycache__/Video.cpython-310.pyc
CHANGED
Binary files a/options/__pycache__/Video.cpython-310.pyc and b/options/__pycache__/Video.cpython-310.pyc differ
|
|