Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
hmb/hello_world
hmb
/
hello_worldz
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
788e556
hello_worldz
/
run.py
hmb
HF staff
Rename app.py to run.py
39da7cd
verified
10 months ago
raw
Copy download link
history
blame
Safe
176 Bytes
import
gradio
as
gr
def
greet
(
name
):
return
"Hello "
+ name +
"!"
demo = gr.Interface(fn=greet, inputs=[
"text"
,
"state"
], outputs=[
"text"
,
"state"
])
demo.launch()