Datasets:

ArXiv:
Elron commited on
Commit
e42f2bd
1 Parent(s): b123d50

Upload catalog.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. catalog.py +1 -6
catalog.py CHANGED
@@ -1,19 +1,14 @@
1
- from unitxt.artifact import Artifact
2
  from .artifact import Artifact, Artifactory, register_atrifactory
3
- from abc import abstractmethod
4
- from dataclasses import field
5
- import os
6
  from .file_utils import get_all_files_in_dir
7
 
 
8
 
9
  class Catalog(Artifactory):
10
  name: str = None
11
  location: str = None
12
 
13
-
14
  catalog_path = os.path.dirname(__file__) + "/catalog"
15
 
16
-
17
  class LocalCatalog(Catalog):
18
  name: str = "local"
19
  location: str = catalog_path
 
 
1
  from .artifact import Artifact, Artifactory, register_atrifactory
 
 
 
2
  from .file_utils import get_all_files_in_dir
3
 
4
+ import os
5
 
6
  class Catalog(Artifactory):
7
  name: str = None
8
  location: str = None
9
 
 
10
  catalog_path = os.path.dirname(__file__) + "/catalog"
11
 
 
12
  class LocalCatalog(Catalog):
13
  name: str = "local"
14
  location: str = catalog_path