Spaces:
Running
on
Zero
Running
on
Zero
add dep
Browse files
app_v4.py
CHANGED
@@ -16,7 +16,7 @@ from typing import Generator
|
|
16 |
from huggingface_hub import CommitScheduler, HfApi
|
17 |
from debug import log_params, scheduler, save_image
|
18 |
from huggingface_hub.utils._runtime import dump_environment_info
|
19 |
-
|
20 |
|
21 |
logging.basicConfig(level=logging.DEBUG)
|
22 |
logger = logging.getLogger(__name__)
|
@@ -169,7 +169,7 @@ def generate_image(prompt, scale, steps, control_image, controlnet_conditioning_
|
|
169 |
).images[0]
|
170 |
# print("Type: " + str(type(image)))
|
171 |
return image
|
172 |
-
|
173 |
with gr.Blocks(title="FLUX Turbo Upscaler", fill_height=True) as demo:
|
174 |
gr.Markdown("⚠️ WIP SPACE - UNFINISHED & BUGGY")
|
175 |
# status_box = gr.Markdown("🔄 Warming up...")
|
|
|
16 |
from huggingface_hub import CommitScheduler, HfApi
|
17 |
from debug import log_params, scheduler, save_image
|
18 |
from huggingface_hub.utils._runtime import dump_environment_info
|
19 |
+
import logging
|
20 |
|
21 |
logging.basicConfig(level=logging.DEBUG)
|
22 |
logger = logging.getLogger(__name__)
|
|
|
169 |
).images[0]
|
170 |
# print("Type: " + str(type(image)))
|
171 |
return image
|
172 |
+
|
173 |
with gr.Blocks(title="FLUX Turbo Upscaler", fill_height=True) as demo:
|
174 |
gr.Markdown("⚠️ WIP SPACE - UNFINISHED & BUGGY")
|
175 |
# status_box = gr.Markdown("🔄 Warming up...")
|