Spaces:
Runtime error
Runtime error
Update core/process.py
Browse files- core/process.py +0 -1
core/process.py
CHANGED
|
@@ -74,7 +74,6 @@ def process_image(
|
|
| 74 |
try:
|
| 75 |
# Detection
|
| 76 |
if run_det:
|
| 77 |
-
if run_det:
|
| 78 |
logger.info(f"Running detection with model: {det_model}")
|
| 79 |
load_start = time.time()
|
| 80 |
model = get_model("detection", DETECTION_MODEL_MAP[det_model], device="cpu")
|
|
|
|
| 74 |
try:
|
| 75 |
# Detection
|
| 76 |
if run_det:
|
|
|
|
| 77 |
logger.info(f"Running detection with model: {det_model}")
|
| 78 |
load_start = time.time()
|
| 79 |
model = get_model("detection", DETECTION_MODEL_MAP[det_model], device="cpu")
|