fffiloni commited on
Commit
8f01d6b
1 Parent(s): 71f8de2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(frame_id)))
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)