radames commited on
Commit
18ae4e7
1 Parent(s): d502cee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -200,7 +200,7 @@ with gr.Blocks(css=css) as demo:
200
 
201
  inputs = [image_input, prompt, strength, steps, seed]
202
  generate_bt.click(fn=predict, inputs=inputs, outputs=image, show_progress=False)
203
- prompt.input(fn=predict, inputs=inputs, outputs=image, show_progress=False)
204
  steps.change(fn=predict, inputs=inputs, outputs=image, show_progress=False)
205
  seed.change(fn=predict, inputs=inputs, outputs=image, show_progress=False)
206
  strength.change(fn=predict, inputs=inputs, outputs=image, show_progress=False)
 
200
 
201
  inputs = [image_input, prompt, strength, steps, seed]
202
  generate_bt.click(fn=predict, inputs=inputs, outputs=image, show_progress=False)
203
+ prompt.change(fn=predict, inputs=inputs, outputs=image, show_progress=False)
204
  steps.change(fn=predict, inputs=inputs, outputs=image, show_progress=False)
205
  seed.change(fn=predict, inputs=inputs, outputs=image, show_progress=False)
206
  strength.change(fn=predict, inputs=inputs, outputs=image, show_progress=False)