Spaces:
Runtime error
Runtime error
Update model.py
Browse files
model.py
CHANGED
|
@@ -25,7 +25,7 @@ def _update_config_path(model_dict: dict[str, dict[str, str]]) -> None:
|
|
| 25 |
dic['config'] = dic['config'].replace(
|
| 26 |
#'https://github.com/open-mmlab/mmdetection/tree/master',
|
| 27 |
'https://github.com/SwinTransformer/Swin-Transformer-Object-Detection/blob/master',
|
| 28 |
-
'configs')
|
| 29 |
|
| 30 |
|
| 31 |
def _update_model_dict_if_hf_token_is_given(
|
|
|
|
| 25 |
dic['config'] = dic['config'].replace(
|
| 26 |
#'https://github.com/open-mmlab/mmdetection/tree/master',
|
| 27 |
'https://github.com/SwinTransformer/Swin-Transformer-Object-Detection/blob/master',
|
| 28 |
+
'mmdet_configs/configs')
|
| 29 |
|
| 30 |
|
| 31 |
def _update_model_dict_if_hf_token_is_given(
|