Spaces:
Runtime error
Runtime error
VanShingel
commited on
Commit
•
c9d37f2
1
Parent(s):
41f4337
init commit
Browse files- .gitignore +1 -0
- app.py +11 -0
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
/.venv/*
|
app.py
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
'''
|
2 |
+
Gradio app file
|
3 |
+
'''
|
4 |
+
|
5 |
+
import gradio as gr
|
6 |
+
|
7 |
+
def greet(name):
|
8 |
+
return "Hello " + name + "!!"
|
9 |
+
|
10 |
+
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
11 |
+
iface.launch()
|