Spaces:
Runtime error
Runtime error
Commit
·
18f9276
1
Parent(s):
b5c8e8c
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,7 @@ import gradio as gr
|
|
3 |
def greet(name):
|
4 |
return "Hello " + name
|
5 |
|
6 |
-
|
7 |
|
8 |
-
|
|
|
|
3 |
def greet(name):
|
4 |
return "Hello " + name
|
5 |
|
6 |
+
gradio_app = gr.Interface(fn=greet, inputs="text", outputs="text")
|
7 |
|
8 |
+
if __name__ == "__main__":
|
9 |
+
gradio_app.launch()
|