Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Patt
/
demo_gradio
like
1
Sleeping
App
Files
Files
Community
Patt
commited on
Dec 8, 2022
Commit
cfafb3e
•
1 Parent(s):
094263e
Create app.py
Browse files
Files changed (1)
hide
show
app.py
+7
-0
app.py
ADDED
Viewed
@@ -0,0 +1,7 @@
1
+
import gradio as gd
2
+
3
+
def greeting(name):
4
+
return "Hello " + name
5
+
6
+
demo = gd.Interface(fn=greeting, inputs='text', outputs='text')
7
+
demo.launch()