Spaces:
Build error
Build error
fix typo
Browse files
app.py
CHANGED
@@ -47,8 +47,8 @@ def get_model():
|
|
47 |
|
48 |
detection_model = AutoDetectionModel.from_pretrained(
|
49 |
model_type='mmdet',
|
50 |
-
model_path=
|
51 |
-
config_path=
|
52 |
confidence_threshold=0.5,
|
53 |
device="cpu",
|
54 |
)
|
47 |
|
48 |
detection_model = AutoDetectionModel.from_pretrained(
|
49 |
model_type='mmdet',
|
50 |
+
model_path=MMDET_YOLOX_TINY_MODEL_PATH,
|
51 |
+
config_path=MMDET_YOLOX_TINY_CONFIG_PATH,
|
52 |
confidence_threshold=0.5,
|
53 |
device="cpu",
|
54 |
)
|