Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
zhzhang93
/
my-space
like
0
Sleeping
App
Files
Files
Community
main
my-space
/
app.py
zhzhang93
test
093e65d
9 months ago
raw
Copy download link
history
blame
contribute
delete
Safe
149 Bytes
import
gradio
as
gr
def
greet
(
name
):
return
"Hello "
+ name +
"!!"
iface = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
)
iface.launch()