quantumiracle-git commited on
Commit
e00e455
·
1 Parent(s): a31d8d1

Update hfserver.py

Browse files
Files changed (1) hide show
  1. hfserver.py +2 -1
hfserver.py CHANGED
@@ -449,7 +449,8 @@ class HuggingFaceDatasetJSONSaver(FlaggingCallback):
449
  "for HuggingFaceDatasetJSONSaver. Try 'pip install huggingface_hub'."
450
  )
451
  path_to_dataset_repo = huggingface_hub.create_repo(
452
- name=self.dataset_name,
 
453
  token=self.hf_foken,
454
  private=self.dataset_private,
455
  repo_type="dataset",
 
449
  "for HuggingFaceDatasetJSONSaver. Try 'pip install huggingface_hub'."
450
  )
451
  path_to_dataset_repo = huggingface_hub.create_repo(
452
+ # name=self.dataset_name, https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/hf_api.py
453
+ repo_id=self.dataset_name,
454
  token=self.hf_foken,
455
  private=self.dataset_private,
456
  repo_type="dataset",