Adal Abilbekov commited on
Commit
d5d0b2d
1 Parent(s): ee8263b

The final version

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = [gr.Audio(sources="microphone", type="filepath", optional=True), gr.Audio(sources="upload", type="filepath", optional=True)]
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"), gr.Audio(sources="upload", type="filepath")]
50
  label = gr.Label()
51
  examples = ['Akzhol_happy.wav']
52