Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
doyu
/
pets
like
0
Sleeping
App
Files
Files
Community
982c8ed
pets
/
app.py
doyu
update
7ae7e2e
almost 2 years ago
raw
Copy download link
history
blame
No virus
150 Bytes
import
gradio
as
gr
def
greet
(
name
):
return
"Hello "
+ name +
"!!"
iface = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
)
iface.launch()