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