Adal Abilbekov
commited on
Commit
·
526feee
1
Parent(s):
d5d0b2d
app.py
CHANGED
@@ -46,7 +46,7 @@ def get_probs(mic=None, file=None):
|
|
46 |
return dict(zip(emotions, list(map(float, probs[0]))))
|
47 |
|
48 |
# mic = gr.Audio(sources="microphone", type="numpy", label="Speak here...")
|
49 |
-
input =
|
50 |
label = gr.Label()
|
51 |
examples = ['Akzhol_happy.wav']
|
52 |
|
|
|
46 |
return dict(zip(emotions, list(map(float, probs[0]))))
|
47 |
|
48 |
# mic = gr.Audio(sources="microphone", type="numpy", label="Speak here...")
|
49 |
+
input = gr.Audio(sources="microphone", type="filepath")
|
50 |
label = gr.Label()
|
51 |
examples = ['Akzhol_happy.wav']
|
52 |
|