Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
Leymore
/
demo
like
0
Runtime error
App
Files
Files
Community
main
demo
/
app.py
周丰哲
Add application file
99b999d
over 1 year 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()