Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
XquanL
/
hello-world
like
0
Runtime error
App
Files
Files
Community
b51360a
hello-world
/
app.py
XquanL
Create app.py
b51360a
about 2 years ago
raw
Copy download link
history
blame
Safe
149 Bytes
import
gradio
as
gr
def
greet
(
name
):
return
"Hello "
+ name +
"!!"
iface = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
)
iface.launch()