Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -101,7 +101,7 @@ def plot_bbox(image, data):
|
|
101 |
draw.text((x1, y1), label, fill="white")
|
102 |
return np.array(img_draw)
|
103 |
|
104 |
-
@spaces.GPU(duration=
|
105 |
def process_video(input_video_path, task_prompt):
|
106 |
cap = cv2.VideoCapture(input_video_path)
|
107 |
if not cap.isOpened():
|
|
|
101 |
draw.text((x1, y1), label, fill="white")
|
102 |
return np.array(img_draw)
|
103 |
|
104 |
+
@spaces.GPU(duration=130) #remains to be seen, increasing too much may leave people queueing for long
|
105 |
def process_video(input_video_path, task_prompt):
|
106 |
cap = cv2.VideoCapture(input_video_path)
|
107 |
if not cap.isOpened():
|