Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
harxsan
/
demo-app
like
1
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
harxsan
commited on
Oct 4, 2024
Commit
12ffa67
·
1 Parent(s):
6edd400
Added Gradio app
Browse files
Files changed (1)
hide
show
app.py
+8
-0
app.py
ADDED
Viewed
@@ -0,0 +1,8 @@
1
+
2
+
import gradio as gr
3
+
4
+
def greet(name):
5
+
return f"Hello, {name}!"
6
+
7
+
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
8
+
iface.launch()