Update app.py
Browse files
app.py
CHANGED
@@ -130,7 +130,7 @@ def load_sample_frame(video_path):
|
|
130 |
frame_rgb = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)
|
131 |
return frame_rgb
|
132 |
|
133 |
-
@spaces.GPU(duration=
|
134 |
def gradio_app():
|
135 |
with gr.Blocks() as app:
|
136 |
gr.Markdown("# Video Object Detection with Owlv2")
|
|
|
130 |
frame_rgb = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)
|
131 |
return frame_rgb
|
132 |
|
133 |
+
@spaces.GPU(duration=200)
|
134 |
def gradio_app():
|
135 |
with gr.Blocks() as app:
|
136 |
gr.Markdown("# Video Object Detection with Owlv2")
|