Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
bnsapa
/
mask-detection
like
0
Sleeping
App
Files
Files
Community
bf1f221
mask-detection
/
app.py
bnsapa
Add app.py with greet function and Gradio interface
bf1f221
about 1 year ago
raw
Copy download link
history
blame
Safe
155 Bytes
import
gradio
as
gr
def
greet
(
name
):
return
"Hello "
+ name +
"!!"
iface = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
)
iface.launch()