Datasets:

ArXiv:
Elron commited on
Commit
71e9335
1 Parent(s): bff1af8

Upload catalog.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. catalog.py +2 -1
catalog.py CHANGED
@@ -5,7 +5,7 @@ from typing import Optional
5
 
6
  import requests
7
 
8
- from .artifact import Artifact, Artifactory
9
  from .logging_utils import get_logger
10
  from .version import version
11
 
@@ -123,6 +123,7 @@ def add_to_catalog(
123
  catalog_path: Optional[str] = None,
124
  verbose=True,
125
  ):
 
126
  if catalog is None:
127
  if catalog_path is None:
128
  catalog_path = default_catalog_path
 
5
 
6
  import requests
7
 
8
+ from .artifact import Artifact, Artifactory, reset_artifacts_cache
9
  from .logging_utils import get_logger
10
  from .version import version
11
 
 
123
  catalog_path: Optional[str] = None,
124
  verbose=True,
125
  ):
126
+ reset_artifacts_cache()
127
  if catalog is None:
128
  if catalog_path is None:
129
  catalog_path = default_catalog_path