THP2903 commited on
Commit
2eef7a9
·
verified ·
1 Parent(s): 5037272

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -34,6 +34,7 @@ def process_video_audio(video_path):
34
  if len(wav[0]) > 261540:
35
  print(wav.shape)
36
  train_audio_wave[0, :] = wav[0][:261540]
 
37
  else:
38
 
39
  print(wav.shape)
@@ -99,7 +100,7 @@ iface = gr.Interface(
99
  gr.Audio(label = "Audio"),
100
  gr.Textbox(label="Predicted Emotion")
101
  ],
102
- title="Emotion Recognition from Video",
103
  description="Upload a video and get the predicted emotion."
104
  )
105
 
 
34
  if len(wav[0]) > 261540:
35
  print(wav.shape)
36
  train_audio_wave[0, :] = wav[0][:261540]
37
+
38
  else:
39
 
40
  print(wav.shape)
 
100
  gr.Audio(label = "Audio"),
101
  gr.Textbox(label="Predicted Emotion")
102
  ],
103
+ title="Emotion recognition with multi-modal neural network",
104
  description="Upload a video and get the predicted emotion."
105
  )
106