Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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=
|
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()
|