Spaces:
Sleeping
Sleeping
francescoKrnl
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -207,7 +207,7 @@ with gr.Blocks(css="style.css", head = head) as demo:
|
|
207 |
outputs = [result]
|
208 |
item.change(fn=run, inputs=inputs, outputs=outputs)
|
209 |
color.change(fn=run, inputs=inputs, outputs=outputs)
|
210 |
-
image.change(fn=run, inputs=inputs, outputs=outputs, trigger_mode="
|
211 |
image.clear(fn=clear_sketchbox, inputs=color, outputs=[image , color])
|
212 |
if __name__ == "__main__":
|
213 |
demo.queue().launch(debug=True, allowed_paths=["."])
|
|
|
207 |
outputs = [result]
|
208 |
item.change(fn=run, inputs=inputs, outputs=outputs)
|
209 |
color.change(fn=run, inputs=inputs, outputs=outputs)
|
210 |
+
image.change(fn=run, inputs=inputs, outputs=outputs, trigger_mode="always_last")
|
211 |
image.clear(fn=clear_sketchbox, inputs=color, outputs=[image , color])
|
212 |
if __name__ == "__main__":
|
213 |
demo.queue().launch(debug=True, allowed_paths=["."])
|