Spaces:
Sleeping
Sleeping
francescoKrnl
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -196,6 +196,6 @@ with gr.Blocks(css="style.css") as demo:
|
|
196 |
outputs = [result]
|
197 |
item.change(fn=run, inputs=inputs, outputs=outputs)
|
198 |
image.change(fn=run, inputs=inputs, outputs=outputs, trigger_mode="always_last")
|
199 |
-
image.
|
200 |
if __name__ == "__main__":
|
201 |
demo.queue().launch(debug=True, allowed_paths=["."])
|
|
|
196 |
outputs = [result]
|
197 |
item.change(fn=run, inputs=inputs, outputs=outputs)
|
198 |
image.change(fn=run, inputs=inputs, outputs=outputs, trigger_mode="always_last")
|
199 |
+
image.clear(fn=empty_input_image, outputs=image)
|
200 |
if __name__ == "__main__":
|
201 |
demo.queue().launch(debug=True, allowed_paths=["."])
|