amirgame197 commited on
Commit
c987365
·
verified ·
1 Parent(s): dc913e2

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 str(tmpname) + '.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 str(tmpname) + '.mp4'
36
  frame = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)
37
  img = Image.fromarray(frame).convert('RGB')
38