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:
robin6321
/
test2
like
0
No application file
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
test2
/
app.py
longbin zheng
Add application file
d89291d
about 2 years ago
Raw
Download with hf CLI
Copy download link
History
Blame
Contribute
Delete
Safe
151 Bytes
import
gradio
as
gr
def
greet
(
name
):
return
"Hello "
+ name +
"!!"
iface = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
)
iface.launch()