Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
pro9code
/
Gradio
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
Sorghum grass
commited on
May 22, 2023
Commit
21098fa
·
1 Parent(s):
56c290a
Create app.py
Browse files
Files changed (1)
hide
show
app.py
+6
-0
app.py
ADDED
Viewed
@@ -0,0 +1,6 @@
1
+
import gradio as gr
2
+
3
+
def greet(name): return "Hello " + name + "!!"
4
+
5
+
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
6
+
iface.launch()