Spaces:
Running
Running
cocktailpeanut
commited on
Commit
•
d35773c
1
Parent(s):
b59ef25
update
Browse files- gradio_demo/app.py +3 -0
gradio_demo/app.py
CHANGED
@@ -15,6 +15,9 @@ from module.ip_adapter.utils import load_adapter_to_pipe
|
|
15 |
from pipelines.sdxl_instantir import InstantIRPipeline
|
16 |
import gc
|
17 |
|
|
|
|
|
|
|
18 |
def resize_img(input_image, max_side=1280, min_side=1024, size=None,
|
19 |
pad_to_max_side=False, mode=Image.BILINEAR, base_pixel_number=64):
|
20 |
|
|
|
15 |
from pipelines.sdxl_instantir import InstantIRPipeline
|
16 |
import gc
|
17 |
|
18 |
+
print(f"version={torch.__version__}")
|
19 |
+
|
20 |
+
|
21 |
def resize_img(input_image, max_side=1280, min_side=1024, size=None,
|
22 |
pad_to_max_side=False, mode=Image.BILINEAR, base_pixel_number=64):
|
23 |
|