Spaces:
Runtime error
Runtime error
Thomas Simonini
commited on
Commit
·
907c415
1
Parent(s):
91f2497
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,5 +4,5 @@ import gradio as gr
|
|
| 4 |
def replay(name):
|
| 5 |
return "Hello " + name + "!!"
|
| 6 |
|
| 7 |
-
iface = gr.Interface(fn=replay, inputs=[gr.inputs.Textbox(
|
| 8 |
iface.launch()
|
|
|
|
| 4 |
def replay(name):
|
| 5 |
return "Hello " + name + "!!"
|
| 6 |
|
| 7 |
+
iface = gr.Interface(fn=replay, inputs=[gr.inputs.Textbox(lines=1, placeholder=None, default="", label="Model Id"), gr.inputs.Radio(["add", "subtract", "multiply", "divide"]), "number"], outputs="text")
|
| 8 |
iface.launch()
|