Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
whybeyoung
/
app
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
0fdac13
app
/
app.py
whybeyoung
Update app.py
0fdac13
over 2 years ago
raw
Copy download link
history
blame
Safe
181 Bytes
import
gradio
as
gr
import
os
import
gradio
as
gr
def
greet
(
name
):
return
"Hello "
+ name +
"!"
demo = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
)
demo.launch()