fcakyon commited on
Commit
cf64881
1 Parent(s): fe27809

fix a typo

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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,