Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -221,7 +221,7 @@ with gr.Blocks(theme="monochrome") as demo:
|
|
221 |
]
|
222 |
outputs = [result]
|
223 |
|
224 |
-
prompt.
|
225 |
style.change(lambda x: styles[x], inputs=[style], outputs=[prompt_temp]).then(
|
226 |
fn=run,
|
227 |
inputs=inputs,
|
|
|
221 |
]
|
222 |
outputs = [result]
|
223 |
|
224 |
+
prompt.submit(fn=run, inputs=inputs, outputs=outputs)
|
225 |
style.change(lambda x: styles[x], inputs=[style], outputs=[prompt_temp]).then(
|
226 |
fn=run,
|
227 |
inputs=inputs,
|