Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
ma-xu
/
LIVE
like
2
Runtime error
App
Files
Files
Community
2
Fetching metadata from the HF Docker repository...
30ded18
LIVE
/
app.py
Xu Ma
update
30ded18
almost 3 years ago
raw
Copy download link
history
blame
Safe
150 Bytes
import
gradio
as
gr
def
greet
(
name
):
return
"Hello "
+ name +
"!!"
iface = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
)
iface.launch()