Spaces:
Sleeping
Sleeping
Commit
·
ca305ab
1
Parent(s):
a31bbda
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,5 +3,10 @@ import gradio as gr
|
|
| 3 |
def greet(name):
|
| 4 |
return "Hello " + name + "!!"
|
| 5 |
|
| 6 |
-
iface = gr.Interface(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
iface.launch()
|
|
|
|
| 3 |
def greet(name):
|
| 4 |
return "Hello " + name + "!!"
|
| 5 |
|
| 6 |
+
iface = gr.Interface(
|
| 7 |
+
fn=greet,
|
| 8 |
+
inputs="text",
|
| 9 |
+
outputs="text",
|
| 10 |
+
title="Hot Dog? Or Not?"
|
| 11 |
+
)
|
| 12 |
iface.launch()
|