Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Chipmunk91
/
apitest
like
0
Build error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
Chipmunk91
commited on
Mar 19, 2024
Commit
7f8cbb9
·
verified
·
1 Parent(s):
a52e5fe
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 gr
2
+
3
+
def greet(text):
4
+
return text + " hello"
5
+
6
+
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
7
+
iface.launch()