BrainAI-1 commited on
Commit
67969e1
·
verified ·
1 Parent(s): dd2eb44

Update utils/emotion_detection_brainai.py

Browse files
Files changed (1) hide show
  1. utils/emotion_detection_brainai.py +1 -1
utils/emotion_detection_brainai.py CHANGED
@@ -100,7 +100,7 @@ class EmotionModel:
100
 
101
  return uploaded_img_cv
102
 
103
- def play_video(input_video):
104
  uploaded_video = io.BytesIO(input_video.read())
105
  temporary_location = "upload.mp4"
106
  with open(temporary_location, "wb") as out:
 
100
 
101
  return uploaded_img_cv
102
 
103
+ def play_video(self, input_video):
104
  uploaded_video = io.BytesIO(input_video.read())
105
  temporary_location = "upload.mp4"
106
  with open(temporary_location, "wb") as out: