Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
mpolanco
/
blog
like
0
Runtime error
App
Files
Files
Community
main
blog
/
app.py
mpolanco
Create app.py
5a7aab5
over 2 years 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()