jiangyu10 commited on
Commit ·
3ad330c
1
Parent(s): 00bf50c
bugfix
Browse files
app.py
CHANGED
|
@@ -2,5 +2,5 @@ import gradio as gr
|
|
| 2 |
def greet(name):
|
| 3 |
return "Hello " + name + "!!"
|
| 4 |
|
| 5 |
-
iface = gr.
|
| 6 |
iface.launch()
|
|
|
|
| 2 |
def greet(name):
|
| 3 |
return "Hello " + name + "!!"
|
| 4 |
|
| 5 |
+
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 6 |
iface.launch()
|