francescoKrnl commited on
Commit
b9c7410
1 Parent(s): 8709cd9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -191,7 +191,7 @@ with gr.Blocks(css="style.css", head="""<meta name="theme-color" content="#000">
191
  inputs = [image, item]
192
  outputs = [result]
193
  item.change(fn=run, inputs=inputs, outputs=outputs)
194
- image.change(fn=run, inputs=inputs, outputs=outputs,queue=False)
195
 
196
  if __name__ == "__main__":
197
  demo.queue().launch(debug=True)
 
191
  inputs = [image, item]
192
  outputs = [result]
193
  item.change(fn=run, inputs=inputs, outputs=outputs)
194
+ image.change(fn=run, inputs=inputs, outputs=outputs, trigger_mode="always_last")
195
 
196
  if __name__ == "__main__":
197
  demo.queue().launch(debug=True)