amirgame197 commited on
Commit
80a5737
1 Parent(s): 35cfc7c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -28,11 +28,11 @@ def doo(video, mode):
28
  if ret is False:
29
  break
30
 
31
- if time.time() - start_time >= 55:
32
- print("GPU Timeout is coming")
33
- cap.release()
34
- writer.release()
35
- return 'output.mp4'
36
  frame = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)
37
  img = Image.fromarray(frame).convert('RGB')
38
 
 
28
  if ret is False:
29
  break
30
 
31
+ #if time.time() - start_time >= 55:
32
+ # print("GPU Timeout is coming")
33
+ # cap.release()
34
+ # writer.release()
35
+ # return 'output.mp4'testing something
36
  frame = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)
37
  img = Image.fromarray(frame).convert('RGB')
38