Spaces:
Runtime error
Runtime error
IbrahimHasani
commited on
Commit
·
d1704ea
1
Parent(s):
e30440b
Update app.py
Browse files
app.py
CHANGED
@@ -111,8 +111,8 @@ def model_interface(uploaded_video, activity):
|
|
111 |
|
112 |
|
113 |
# Load video paths from the folder
|
114 |
-
video_folder = "Action Detection Samples"
|
115 |
-
video_files = [os.path.join(video_folder, file) for file in os.listdir(video_folder) if file.endswith('.mp4')] # considering only mp4 files
|
116 |
|
117 |
# Create examples: assuming every video is about 'dancing'
|
118 |
#examples = [[video, "taking a shot"] for video in video_files]
|
|
|
111 |
|
112 |
|
113 |
# Load video paths from the folder
|
114 |
+
#video_folder = "Action Detection Samples"
|
115 |
+
#video_files = [os.path.join(video_folder, file) for file in os.listdir(video_folder) if file.endswith('.mp4')] # considering only mp4 files
|
116 |
|
117 |
# Create examples: assuming every video is about 'dancing'
|
118 |
#examples = [[video, "taking a shot"] for video in video_files]
|