Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -62,7 +62,7 @@ def run_schnell(prompt):
|
|
62 |
return image
|
63 |
|
64 |
def run_parallel_models(prompt):
|
65 |
-
|
66 |
with ProcessPoolExecutor(max_workers=3) as executor:
|
67 |
future_dev_hyper = executor.submit(run_dev_hyper, prompt)
|
68 |
future_dev_turbo = executor.submit(run_dev_turbo, prompt)
|
@@ -76,7 +76,7 @@ def run_parallel_models(prompt):
|
|
76 |
run_parallel_models.zerogpu = True
|
77 |
|
78 |
with gr.Blocks() as demo:
|
79 |
-
gr.Markdown("#
|
80 |
with gr.Row():
|
81 |
prompt = gr.Textbox(label="Prompt")
|
82 |
submit = gr.Button()
|
|
|
62 |
return image
|
63 |
|
64 |
def run_parallel_models(prompt):
|
65 |
+
print(prompt)
|
66 |
with ProcessPoolExecutor(max_workers=3) as executor:
|
67 |
future_dev_hyper = executor.submit(run_dev_hyper, prompt)
|
68 |
future_dev_turbo = executor.submit(run_dev_turbo, prompt)
|
|
|
76 |
run_parallel_models.zerogpu = True
|
77 |
|
78 |
with gr.Blocks() as demo:
|
79 |
+
gr.Markdown("# Low Step Flux Comparison")
|
80 |
with gr.Row():
|
81 |
prompt = gr.Textbox(label="Prompt")
|
82 |
submit = gr.Button()
|