Spaces:
Paused
Paused
Commit
•
abed78e
1
Parent(s):
ab17f6e
Update app.py
Browse files
app.py
CHANGED
@@ -123,7 +123,7 @@ with gr.Blocks(css=css) as demo:
|
|
123 |
gr.Markdown("")
|
124 |
selected_state = gr.State()
|
125 |
gallery.select(update_selection, outputs=[prompt_title, prompt, selected_state], queue=False, show_progress=False)
|
126 |
-
|
127 |
button.click(fn=run_lora, inputs=[prompt, negative, weight, selected_state], outputs=result)
|
128 |
|
129 |
|
|
|
123 |
gr.Markdown("")
|
124 |
selected_state = gr.State()
|
125 |
gallery.select(update_selection, outputs=[prompt_title, prompt, selected_state], queue=False, show_progress=False)
|
126 |
+
prompt.submit(fn=run_lora, inputs=[prompt, negative, weight, selected_state], outputs=result)
|
127 |
button.click(fn=run_lora, inputs=[prompt, negative, weight, selected_state], outputs=result)
|
128 |
|
129 |
|