Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
co42
/
testb
like
0
Sleeping
App
Files
Files
Community
co42
HF staff
commited on
Sep 22, 2023
Commit
5200169
•
1 Parent(s):
131dee0
Create app.py
Browse files
Files changed (1)
hide
show
app.py
+9
-0
app.py
ADDED
Viewed
@@ -0,0 +1,9 @@
1
+
2
+
3
+
import gradio as gr
4
+
5
+
def greet(name):
6
+
return "Hello " + name + "!!"
7
+
8
+
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
9
+
iface.launch()