Pradheep1647 commited on
Commit
0a94d84
1 Parent(s): 778504d

small bug fix

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -11,6 +11,8 @@ from transformers import AutoTokenizer, AutoModelForSequenceClassification
11
  from transformers import BlipProcessor, BlipForConditionalGeneration
12
  import cv2
13
 
 
 
14
  def extract_audio_from_video(video_path):
15
  video_clip = VideoFileClip(video_path)
16
  audio_output = os.path.join('./', 'audio.mp3')
 
11
  from transformers import BlipProcessor, BlipForConditionalGeneration
12
  import cv2
13
 
14
+ emotion_labels = ['anger', 'joy', 'optimism', 'sad']
15
+
16
  def extract_audio_from_video(video_path):
17
  video_clip = VideoFileClip(video_path)
18
  audio_output = os.path.join('./', 'audio.mp3')