richylyq commited on
Commit
6ba5d10
1 Parent(s): c926d2a

update btn input

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="", outputs=result)
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()