Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -89,7 +89,7 @@ with gr.Blocks(theme=gr.themes.Base(), css="body {background-color: #f9fafb;}")
|
|
| 89 |
generate_btn = gr.Button("🚀 Generate Image", variant="primary")
|
| 90 |
output_image = gr.Image(type="filepath", label="🖼️ Generated Image", height=512)
|
| 91 |
|
| 92 |
-
generate_btn.click(
|
| 93 |
fn=generate,
|
| 94 |
inputs=[prompt_input, width_input, height_input, steps_input, seed_input, negative_input],
|
| 95 |
outputs=output_image
|
|
|
|
| 89 |
generate_btn = gr.Button("🚀 Generate Image", variant="primary")
|
| 90 |
output_image = gr.Image(type="filepath", label="🖼️ Generated Image", height=512)
|
| 91 |
|
| 92 |
+
demo = generate_btn.click(
|
| 93 |
fn=generate,
|
| 94 |
inputs=[prompt_input, width_input, height_input, steps_input, seed_input, negative_input],
|
| 95 |
outputs=output_image
|