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...
eebde1f
hello_worldz
/
app.py
hmb
HF Staff
Update app.py
6bd675c
verified
over 1 year ago
raw
Copy download link
history
blame
Safe
179 Bytes
import
gradio
as
gr
def
greet
(
name
):
return
"Hello "
+ name +
"!"
demo = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
)
demo.launch(auth=(
"admin"
,
"pass123"
))