Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
haihui
/
mytest
like
0
Sleeping
App
Files
Files
Community
main
mytest
/
app.py
haihui
Create app.py
af1877a
verified
7 months ago
raw
Copy download link
history
blame
contribute
delete
Safe
150 Bytes
import
gradio
as
gr
def
greet
(
name
):
return
"Hello "
+ name +
"!!"
iface = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
)
iface.launch()