Spaces:
Runtime error
Runtime error
John Smith
commited on
Commit
·
b460c11
1
Parent(s):
2bedd9b
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,5 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
import gradio as gr
|
4 |
|
5 |
-
gr.Interface(fn=
|
6 |
-
|
7 |
-
outputs="label",
|
8 |
-
live=True).launch()
|
|
|
1 |
+
def greet(name):
|
2 |
+
return "Hello " + name + "!!"
|
|
|
3 |
|
4 |
+
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
5 |
+
iface.launch()
|
|
|
|