We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6515ea8 commit dcac753Copy full SHA for dcac753
prompt2model/dataset_retriever/description_dataset_retriever.py
@@ -57,7 +57,8 @@ def initialize_search_index(self) -> None:
57
self.dataset_infos: list[DatasetInfo] = []
58
if not os.path.exists(self.dataset_info_file):
59
# Download the dataset search index if one is not on disk already.
60
- logger.info("Downlidng the dataset search index")
+ logger.info("Downloading the dataset search index")
61
+ os.makedirs(os.path.dirname(self.dataset_info_file), exist_ok=True)
62
urllib.request.urlretrieve(
63
"http://phontron.com/data/prompt2model/dataset_index.json",
64
self.dataset_info_file,
0 commit comments