IDKiro commited on
Commit
99179e0
1 Parent(s): df1b0df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -221,7 +221,7 @@ with gr.Blocks(theme="monochrome") as demo:
221
  ]
222
  outputs = [result]
223
 
224
- prompt.change(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,
 
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,