mgyigit commited on
Commit
af158bf
·
verified ·
1 Parent(s): 4670ac7

Update src/saving_utils.py

Browse files
Files changed (1) hide show
  1. src/saving_utils.py +1 -1
src/saving_utils.py CHANGED
@@ -19,7 +19,7 @@ def save_csv_locally(dataframe, file_name, save_dir="/tmp"):
19
 
20
  return file_path
21
 
22
- def upload_to_hub(local_path, remote_path, repo_id, repo_type="dataset"):
23
  api = HfApi() # Requires authentication via HF_TOKEN
24
  api.upload_file(
25
  path_or_fileobj=local_path,
 
19
 
20
  return file_path
21
 
22
+ def upload_to_hub(local_path, remote_path, repo_id, repo_type="space"):
23
  api = HfApi() # Requires authentication via HF_TOKEN
24
  api.upload_file(
25
  path_or_fileobj=local_path,