Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Aashiue
/
emotiondetectionusingaudio
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
74db137
emotiondetectionusingaudio
/
app.py
Aashiue
Update app.py
74db137
over 2 years ago
raw
Copy download link
history
blame
Safe
Wrap lines
217 Bytes
import
gradio
as
gr
def
emotiondetection
(
audio
):
text =
"emotion"
return
text
gr.Interface(
fn = emotiondetection,
inputs = gr.Audio(source=
"microphone"
,
type
=
"filepath"
),
outputs =
"text"
).launch()