Ubuntu commited on
Commit
4abe765
·
1 Parent(s): d3431d4
Files changed (2) hide show
  1. .ipynb_checkpoints/app-checkpoint.py +1 -1
  2. app.py +1 -1
.ipynb_checkpoints/app-checkpoint.py CHANGED
@@ -5,7 +5,7 @@ from encoded_video import EncodedVideo, write_video
5
 
6
 
7
  def video_identity(filepath):
8
- vid = EncodedVideo.from_path(filepath)
9
  while (True):
10
 
11
  success, frame = capture.read()
 
5
 
6
 
7
  def video_identity(filepath):
8
+ capture = EncodedVideo.from_path(filepath)
9
  while (True):
10
 
11
  success, frame = capture.read()
app.py CHANGED
@@ -5,7 +5,7 @@ from encoded_video import EncodedVideo, write_video
5
 
6
 
7
  def video_identity(filepath):
8
- vid = EncodedVideo.from_path(filepath)
9
  while (True):
10
 
11
  success, frame = capture.read()
 
5
 
6
 
7
  def video_identity(filepath):
8
+ capture = EncodedVideo.from_path(filepath)
9
  while (True):
10
 
11
  success, frame = capture.read()