Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -84,7 +84,7 @@ with gr.Blocks() as demo:
|
|
| 84 |
button = gr.Button("Generate", variant="primary")
|
| 85 |
with gr.Column():
|
| 86 |
output = gr.Gallery(label='Generated Images', height=700)
|
| 87 |
-
button.click(
|
| 88 |
guidance_scale, randomize_temperature, num_sample_steps,
|
| 89 |
i1k_class, seed],
|
| 90 |
outputs=[output])
|
|
|
|
| 84 |
button = gr.Button("Generate", variant="primary")
|
| 85 |
with gr.Column():
|
| 86 |
output = gr.Gallery(label='Generated Images', height=700)
|
| 87 |
+
button.click(demo_infer, inputs=[
|
| 88 |
guidance_scale, randomize_temperature, num_sample_steps,
|
| 89 |
i1k_class, seed],
|
| 90 |
outputs=[output])
|