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

Fixed errors

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(sourceы="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", optional=True), gr.Audio(sources="upload", type="filepath", optional=True)]
50
  label = gr.Label()
51
  examples = ['Akzhol_happy.wav']
52