Spaces:
Sleeping
Sleeping
Commit
·
544aeb4
1
Parent(s):
1cd642a
init app.py
Browse files- .gitignore +1 -0
- app.py +9 -0
.gitignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
/.idea/*
|
app.py
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
|
| 3 |
+
|
| 4 |
+
def greet(name):
|
| 5 |
+
return "Hello " + name + "!!"
|
| 6 |
+
|
| 7 |
+
|
| 8 |
+
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 9 |
+
iface.launch()
|