Update app.py
Browse files
app.py
CHANGED
@@ -102,7 +102,7 @@ def find_scenes(video_path, threshold):
|
|
102 |
cv2.imwrite(img,frame)
|
103 |
|
104 |
# Push image into stills List
|
105 |
-
stills.append((img, 'shot ' + str(
|
106 |
|
107 |
# Push the list of video shots into data_outputs for Gradio file component
|
108 |
data_outputs.append(shots)
|
|
|
102 |
cv2.imwrite(img,frame)
|
103 |
|
104 |
# Push image into stills List
|
105 |
+
stills.append((img, 'shot ' + str(i+1)))
|
106 |
|
107 |
# Push the list of video shots into data_outputs for Gradio file component
|
108 |
data_outputs.append(shots)
|