Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
SY0719
/
sydemo1
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
SY0719
commited on
Aug 25, 2023
Commit
d35e4d7
·
1 Parent(s):
eceaa0b
Create app.py
Browse files
Files changed (1)
hide
show
app.py
+14
-0
app.py
ADDED
Viewed
@@ -0,0 +1,14 @@
1
+
import gradio as gr
2
+
3
+
4
+
5
+
def greet(name):
6
+
7
+
return "Hello " + name + "!!"
8
+
9
+
10
+
11
+
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
12
+
13
+
iface.launch()
14
+