Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
yuankaihuo
/
test
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
ad5f139
test
/
app.py
yuankaihuo
Update app.py
ad5f139
over 2 years ago
Raw
Download with hf CLI
Copy download link
History
Blame
Safe
197 Bytes
import
gradio
as
gr
def
greet
(
name
):
return
"Hello "
+ name
gradio_app = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
,title=
"Demo"
)
if
__name__ ==
"__main__"
:
gradio_app.launch()