Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
gradio/hello_world
hmb
/
hello_world
like
0
Sleeping
App
Files
Files
main
hello_world
/
run.py
hmb
HF staff
Update run.py
da11783
verified
5 months ago
raw
Copy download link
history
blame
Safe
191 Bytes
import
gradio
as
gr
def
greet
(
name
):
return
"Hello "
+ name +
"!"
demo = gr.Interface(fn=greet, inputs=
"textbox"
, outputs=
"textbox"
)
if
__name__ ==
"__main__"
:
demo.launch()