YarramsettiNaresh commited on
Commit
13b8932
1 Parent(s): e2cf29c
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ class VideoProcessor:
33
  print(f"gradio_video_stream init : {video_file}")
34
  self.g_bags = {}
35
  self.g_fishes = {}
36
- self.cap = cv2.VideoCapture(video_file.name) # Open the uploaded video file
37
 
38
  while True:
39
  frame = self.process_frame()
 
33
  print(f"gradio_video_stream init : {video_file}")
34
  self.g_bags = {}
35
  self.g_fishes = {}
36
+ self.cap = cv2.VideoCapture(video_file) # Open the uploaded video file
37
 
38
  while True:
39
  frame = self.process_frame()