hina19 commited on
Commit
c3b0aec
·
verified ·
1 Parent(s): 150ee42

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -35,7 +35,6 @@ if uploaded_file:
35
  video = open_video(video_path)
36
  scene_manager = SceneManager()
37
  scene_manager.add_detector(ContentDetector(threshold=27.0))
38
- video.set_downscale_factor()
39
  scene_manager.detect_scenes(video)
40
  scenes = scene_manager.get_scene_list()
41
  cap = cv2.VideoCapture(video_path)
 
35
  video = open_video(video_path)
36
  scene_manager = SceneManager()
37
  scene_manager.add_detector(ContentDetector(threshold=27.0))
 
38
  scene_manager.detect_scenes(video)
39
  scenes = scene_manager.get_scene_list()
40
  cap = cv2.VideoCapture(video_path)