Spaces:
Sleeping
Sleeping
app update
Browse files
app.py
CHANGED
@@ -131,9 +131,6 @@ class EmotionDetector:
|
|
131 |
def create_interface():
|
132 |
detector = EmotionDetector()
|
133 |
|
134 |
-
def create_interface():
|
135 |
-
detector = EmotionDetector()
|
136 |
-
|
137 |
def process(video_path, sample_rate):
|
138 |
if video_path is None or not os.path.exists(video_path):
|
139 |
return None, "Invalid video path or no video uploaded."
|
|
|
131 |
def create_interface():
|
132 |
detector = EmotionDetector()
|
133 |
|
|
|
|
|
|
|
134 |
def process(video_path, sample_rate):
|
135 |
if video_path is None or not os.path.exists(video_path):
|
136 |
return None, "Invalid video path or no video uploaded."
|