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