OzoneAsai commited on
Commit
9cd1612
1 Parent(s): 767f3b2

Upload upl.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. upl.py +12 -0
upl.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from huggingface_hub import HfApi
2
+ from huggingface_hub.utils import enable_progress_bars
3
+ enable_progress_bars()
4
+ api = HfApi()
5
+
6
+ api.upload_file(
7
+
8
+ path_or_fileobj="./dataset.json",
9
+
10
+ path_in_repo="dataset.json",
11
+
12
+ repo_id="OzoneAsai/ah",)