Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -207,7 +207,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
207 |
line.change(fn=lambda x: gr.update(value=not x), inputs=[line], outputs=[eraser]).then(update_canvas, [line, eraser], [image])
|
208 |
|
209 |
demo.load(None,None,None,_js=scripts)
|
210 |
-
inputs = [image,
|
211 |
outputs = [result, download_sketch, download_output]
|
212 |
item.change(fn=run, inputs=inputs, outputs=outputs)
|
213 |
image.change(run, inputs=inputs, outputs=outputs,)
|
|
|
207 |
line.change(fn=lambda x: gr.update(value=not x), inputs=[line], outputs=[eraser]).then(update_canvas, [line, eraser], [image])
|
208 |
|
209 |
demo.load(None,None,None,_js=scripts)
|
210 |
+
inputs = [image, item]
|
211 |
outputs = [result, download_sketch, download_output]
|
212 |
item.change(fn=run, inputs=inputs, outputs=outputs)
|
213 |
image.change(run, inputs=inputs, outputs=outputs,)
|