Spaces:
Running
on
Zero
Running
on
Zero
In crease GPU time duration
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ import threading
|
|
12 |
|
13 |
should_continue = True
|
14 |
|
15 |
-
@spaces.GPU(duration=
|
16 |
def yolov9_inference(model_id, img_path=None, vid_path=None, tracking_algorithm = None):
|
17 |
global should_continue
|
18 |
img_extensions = ['.jpg', '.jpeg', '.png', '.gif'] # Add more image extensions if needed
|
|
|
12 |
|
13 |
should_continue = True
|
14 |
|
15 |
+
@spaces.GPU(duration=240)
|
16 |
def yolov9_inference(model_id, img_path=None, vid_path=None, tracking_algorithm = None):
|
17 |
global should_continue
|
18 |
img_extensions = ['.jpg', '.jpeg', '.png', '.gif'] # Add more image extensions if needed
|