Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ from scipy.interpolate import make_interp_spline
|
|
| 15 |
import pandas as pd
|
| 16 |
should_continue = True
|
| 17 |
|
| 18 |
-
@spaces.GPU(duration=
|
| 19 |
def yolov9_inference(model_id, img_path=None, vid_path=None, tracking_algorithm = None):
|
| 20 |
global should_continue
|
| 21 |
img_extensions = ['.jpg', '.jpeg', '.png', '.gif'] # Add more image extensions if needed
|
|
|
|
| 15 |
import pandas as pd
|
| 16 |
should_continue = True
|
| 17 |
|
| 18 |
+
@spaces.GPU(duration=240)
|
| 19 |
def yolov9_inference(model_id, img_path=None, vid_path=None, tracking_algorithm = None):
|
| 20 |
global should_continue
|
| 21 |
img_extensions = ['.jpg', '.jpeg', '.png', '.gif'] # Add more image extensions if needed
|