francescoKrnl commited on
Commit
e47f8b2
1 Parent(s): c114545

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -209,6 +209,6 @@ with gr.Blocks(css="style.css", head = head) as demo:
209
  item.change(fn=run, inputs=inputs, outputs=outputs)
210
  color.change(fn=run, inputs=inputs, outputs=outputs)
211
  image.change(fn=run, inputs=inputs, outputs=outputs, trigger_mode="always_last")
212
- image.clear(fn=clear_sketchbox, input=color, outputs=[image , color])
213
  if __name__ == "__main__":
214
  demo.queue().launch(debug=True, allowed_paths=["."])
 
209
  item.change(fn=run, inputs=inputs, outputs=outputs)
210
  color.change(fn=run, inputs=inputs, outputs=outputs)
211
  image.change(fn=run, inputs=inputs, outputs=outputs, trigger_mode="always_last")
212
+ image.clear(fn=clear_sketchbox, inputs=color, outputs=[image , color])
213
  if __name__ == "__main__":
214
  demo.queue().launch(debug=True, allowed_paths=["."])