Spaces:
Running
on
Zero
Running
on
Zero
Refine GPU Resource Allocation for YOLOv11 Inference (#6)
Browse files- Refine GPU Resource Allocation for YOLOv11 Inference (ad9428c358608a2888af38749225a9155ea86eac)
- Update app.py (a97fda4dac2f7d226058d6cf9d86ce400cb54730)
- Removed extra spaces.GPU() decorator. (c7580e7f52c1dfa45cd7f692a04239d591bb156c)
Co-authored-by: Atalay Denknalbant <[email protected]>
app.py
CHANGED
@@ -41,7 +41,6 @@ sahi.utils.file.download_from_url(
|
|
41 |
# Global model variable
|
42 |
model = None
|
43 |
|
44 |
-
@spaces.GPU(duration=60)
|
45 |
def load_yolo_model(model_name, confidence_threshold=0.5):
|
46 |
"""
|
47 |
Loads a YOLOv11 detection model.
|
|
|
41 |
# Global model variable
|
42 |
model = None
|
43 |
|
|
|
44 |
def load_yolo_model(model_name, confidence_threshold=0.5):
|
45 |
"""
|
46 |
Loads a YOLOv11 detection model.
|