Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
jy-raychen
/
example
like
0
Sleeping
App
Files
Files
Community
main
example
/
app.py
Hedgehog Chen
Init with Hugging Face demo code
70d8d48
4 months ago
raw
Copy download link
history
blame
contribute
delete
Safe
144 Bytes
import
gradio
as
gr
def
greet
(
name
):
return
"Hello "
+ name
demo = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
)
demo.launch()