Spaces:
Runtime error
Runtime error
andreeabodea
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -3,10 +3,10 @@ import gradio as gr
|
|
3 |
def greet(name):
|
4 |
return "Hello, " + name + "!"
|
5 |
|
6 |
-
|
7 |
fn=greet,
|
8 |
inputs=["text"],
|
9 |
outputs=["text"],
|
10 |
)
|
11 |
|
12 |
-
|
|
|
3 |
def greet(name):
|
4 |
return "Hello, " + name + "!"
|
5 |
|
6 |
+
iface = gr.Interface(
|
7 |
fn=greet,
|
8 |
inputs=["text"],
|
9 |
outputs=["text"],
|
10 |
)
|
11 |
|
12 |
+
iface.launch()
|