update btn input
Browse files
app.py
CHANGED
@@ -31,5 +31,5 @@ def draw():
|
|
31 |
with gr.Blocks() as demo:
|
32 |
result = draw()
|
33 |
draw_btn = gr.Button("Draw")
|
34 |
-
draw_btn.click(fn=draw, inputs=
|
35 |
demo.launch()
|
|
|
31 |
with gr.Blocks() as demo:
|
32 |
result = draw()
|
33 |
draw_btn = gr.Button("Draw")
|
34 |
+
draw_btn.click(fn=draw, inputs=[], outputs=result)
|
35 |
demo.launch()
|