Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -205,9 +205,6 @@ with gr.Blocks(css=css) as demo:
|
|
| 205 |
gr.Button(save_all_button)
|
| 206 |
gr.Button(clear_all_button)
|
| 207 |
|
| 208 |
-
# Attach click event handlers to the buttons
|
| 209 |
-
save_all_button.click(save_all_button_click)
|
| 210 |
-
clear_all_button.click(clear_all_button_click)
|
| 211 |
|
| 212 |
with gr.Column(elem_id="container"):
|
| 213 |
gr.Markdown(
|
|
@@ -281,5 +278,9 @@ with gr.Blocks(css=css) as demo:
|
|
| 281 |
steps.change(fn=predict, inputs=inputs, outputs=image, show_progress=False)
|
| 282 |
seed.change(fn=predict, inputs=inputs, outputs=image, show_progress=False)
|
| 283 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 284 |
demo.queue()
|
| 285 |
demo.launch()
|
|
|
|
| 205 |
gr.Button(save_all_button)
|
| 206 |
gr.Button(clear_all_button)
|
| 207 |
|
|
|
|
|
|
|
|
|
|
| 208 |
|
| 209 |
with gr.Column(elem_id="container"):
|
| 210 |
gr.Markdown(
|
|
|
|
| 278 |
steps.change(fn=predict, inputs=inputs, outputs=image, show_progress=False)
|
| 279 |
seed.change(fn=predict, inputs=inputs, outputs=image, show_progress=False)
|
| 280 |
|
| 281 |
+
# Attach click event handlers to the buttons
|
| 282 |
+
save_all_button.click(save_all_button_click)
|
| 283 |
+
clear_all_button.click(clear_all_button_click)
|
| 284 |
+
|
| 285 |
demo.queue()
|
| 286 |
demo.launch()
|