Update app.py
Browse files
app.py
CHANGED
|
@@ -5,8 +5,9 @@ def greet(name, age):
|
|
| 5 |
|
| 6 |
iface = gr.Interface(
|
| 7 |
fn=greet,
|
| 8 |
-
inputs=[gr.
|
| 9 |
outputs="text"
|
| 10 |
)
|
| 11 |
|
| 12 |
iface.launch(share=True) # Use share=True for remote access
|
|
|
|
|
|
| 5 |
|
| 6 |
iface = gr.Interface(
|
| 7 |
fn=greet,
|
| 8 |
+
inputs=[gr.Textbox(label="Name"), gr.Number(label="Age")],
|
| 9 |
outputs="text"
|
| 10 |
)
|
| 11 |
|
| 12 |
iface.launch(share=True) # Use share=True for remote access
|
| 13 |
+
|