Hugging Face
Models
Datasets
Spaces
Community
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...
6bd675c
hello_worldz
/
run.py
hmb
HF Staff
Update run.py
502380b
verified
over 1 year ago
raw
Copy download link
history
blame
Safe
216 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(auth=(
"admin"
,
"pass123"
))