Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
pillIdentifierAI
/
snoringAI
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
f702b91
snoringAI
/
app.py
CXDJY
Change input type to audio
f702b91
over 1 year ago
raw
Copy download link
history
blame
Safe
155 Bytes
import
gradio
as
gr
def
greet
(
name:
str
):
return
"Hello "
+ name +
"!!"
iface = gr.Interface(fn=greet, inputs=
"audio"
, outputs=
"text"
)
iface.launch()