Spaces:
Runtime error
Runtime error
Commit
·
310544d
1
Parent(s):
505b2aa
Update app.py
Browse files
app.py
CHANGED
|
@@ -195,6 +195,7 @@ with gr.Blocks() as app:
|
|
| 195 |
# The rest of your code for setting up the app
|
| 196 |
gallery.select(update_selection, outputs=[prompt, selected_info, selected_state])
|
| 197 |
prompt.submit(fn=run_lora, inputs=[prompt, selected_state], outputs=[result])
|
|
|
|
| 198 |
post_process_button.click(
|
| 199 |
fn=postprocess,
|
| 200 |
inputs=[
|
|
|
|
| 195 |
# The rest of your code for setting up the app
|
| 196 |
gallery.select(update_selection, outputs=[prompt, selected_info, selected_state])
|
| 197 |
prompt.submit(fn=run_lora, inputs=[prompt, selected_state], outputs=[result])
|
| 198 |
+
button.click(fn=run_lora, inputs=[prompt, selected_state], outputs=[result])
|
| 199 |
post_process_button.click(
|
| 200 |
fn=postprocess,
|
| 201 |
inputs=[
|