Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
view-port
/
demo
like
0
Sleeping
App
Files
Files
Community
main
demo
/
app.py
view-port
Create app.py
3af938a
8 months ago
raw
history
blame
contribute
delete
No virus
150 Bytes
import
gradio
as
gr
def
greet
(
name
):
return
"Hello "
+ name +
"!!"
iface = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
)
iface.launch()