File size: 515 Bytes
80dc74c
 
 
 
 
 
 
4f55ca2
 
 
 
 
80dc74c
 
dffe47c
4f55ca2
b30bcef
dffe47c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from huggingface_hub import hf_hub_download

supported_models_path = hf_hub_download(
    repo_id="jacopoteneggi/IBYDMT",
    filename="supported_models.txt",
    repo_type="dataset",
)
supported_datasets_path = hf_hub_download(
    repo_id="jacopoteneggi/IBYDMT",
    filename="supported_datasets.txt",
    repo_type="dataset",
)

with open(supported_models_path, "r") as f:
    SUPPORTED_MODELS = f.read().splitlines()

with open(supported_datasets_path, "r") as f:
    SUPPORTED_DATASETS = f.read().splitlines()