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...
12ffa67
demo-app
/
app.py
harxsan
Added Gradio app
12ffa67
7 months ago
raw
Copy download link
history
blame
Safe
146 Bytes
import
gradio
as
gr
def
greet
(
name
):
return
f"Hello,
{name}
!"
iface = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
)
iface.launch()