Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -250,7 +250,7 @@ async def predict_action(uuid: str):
|
|
250 |
if len(video_files) == 1:
|
251 |
file_path = video_files[0]
|
252 |
print(f"Video file found: {file_path}")
|
253 |
-
|
254 |
print("Several video file or multiple video files found in the directory.")
|
255 |
file_path = video_files[0]
|
256 |
|
|
|
250 |
if len(video_files) == 1:
|
251 |
file_path = video_files[0]
|
252 |
print(f"Video file found: {file_path}")
|
253 |
+
elif len(video_files) > 1:
|
254 |
print("Several video file or multiple video files found in the directory.")
|
255 |
file_path = video_files[0]
|
256 |
|