qqwjq1981 commited on
Commit
7911601
·
verified ·
1 Parent(s): 67adc88

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,5 +3,5 @@ import gradio as gr
3
  def on_button_click():
4
  return "Button clicked!"
5
 
6
- iface = gr.Interface(fn=on_button_click, inputs="button", outputs="text")
7
  iface.launch()
 
3
  def on_button_click():
4
  return "Button clicked!"
5
 
6
+ iface = gr.Interface(fn=on_button_click, inputs=gr.Button(), outputs="text")
7
  iface.launch()