amirgame197
commited on
Commit
•
80a5737
1
Parent(s):
35cfc7c
Update app.py
Browse files
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 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
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 |
|