Spaces:
Runtime error
Runtime error
Commit
·
46ccfa6
1
Parent(s):
c4122c3
Update app.py
Browse files
app.py
CHANGED
@@ -115,7 +115,7 @@ 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, "
|
119 |
|
120 |
iface = gr.Interface(
|
121 |
fn=model_interface,
|
|
|
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]
|
119 |
|
120 |
iface = gr.Interface(
|
121 |
fn=model_interface,
|