Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -77,6 +77,12 @@ with gr.Blocks() as demo:
|
|
| 77 |
with gr.Column():
|
| 78 |
image_hyper = gr.Image(label="Hyper SDXL")
|
| 79 |
gr.Markdown("## [Hyper SDXL](https://huggingface.co/ByteDance/Hyper-SD)")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 80 |
|
| 81 |
-
run.click(fn=run_comparison, inputs=prompt, outputs=[image_turbo, image_lightning, image_hyper])
|
| 82 |
demo.launch()
|
|
|
|
| 77 |
with gr.Column():
|
| 78 |
image_hyper = gr.Image(label="Hyper SDXL")
|
| 79 |
gr.Markdown("## [Hyper SDXL](https://huggingface.co/ByteDance/Hyper-SD)")
|
| 80 |
+
|
| 81 |
+
gr.on(
|
| 82 |
+
triggers=[prompt.submit, run.click],
|
| 83 |
+
fn=run_comparison,
|
| 84 |
+
inputs=prompt,
|
| 85 |
+
outputs=[image_turbo, image_lightning, image_hyper]
|
| 86 |
+
)
|
| 87 |
|
|
|
|
| 88 |
demo.launch()
|