Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
Duplicated from
gradio/hello_world
DemoLou
/
hello_world
like
0
Sleeping
App
Files
Files
Community
1d814b1
hello_world
/
run.py
DemoLou
Duplicate from gradio/hello_world
58762f6
over 1 year ago
raw
history
blame
No virus
185 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()