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
21cbdf2
hello_world
/
run.py
aliabd
HF staff
Upload folder using huggingface_hub
5ac9d2f
about 1 year ago
raw
Copy download link
history
blame
Safe
199 Bytes
import
gradio
as
gr
def
greet
(
name
):
return
"Hello "
+ name +
"!"
demo = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
)
if
__name__ ==
"__main__"
:
demo.launch(show_api=
False
)