Update utils/emotion_detection_brainai.py
Browse files
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:
|