Spaces:
Running
Running
fix a typo
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ def get_model():
|
|
42 |
model_name="yolox", config_file_name="yolox_tiny_8x8_300e_coco.py"
|
43 |
)
|
44 |
|
45 |
-
detection_model = AutoDetectionModel(
|
46 |
model_type='mmdet'
|
47 |
model_path=model_path,
|
48 |
config_path=config_path,
|
|
|
42 |
model_name="yolox", config_file_name="yolox_tiny_8x8_300e_coco.py"
|
43 |
)
|
44 |
|
45 |
+
detection_model = AutoDetectionModel.from_pretrained(
|
46 |
model_type='mmdet'
|
47 |
model_path=model_path,
|
48 |
config_path=config_path,
|