liujch1998 commited on
Commit
be2d0e3
β€’
1 Parent(s): 8185fe8
Files changed (2) hide show
  1. app.py +2 -1
  2. requirements.txt +1 -1
app.py CHANGED
@@ -24,7 +24,8 @@ except:
24
  repo = huggingface_hub.Repository(
25
  local_dir=DATA_DIR,
26
  clone_from=DATASET_REPO_URL,
27
- use_auth_token=HF_TOKEN_DOWNLOAD,
 
28
  )
29
  repo.git_pull()
30
 
 
24
  repo = huggingface_hub.Repository(
25
  local_dir=DATA_DIR,
26
  clone_from=DATASET_REPO_URL,
27
+ token=HF_TOKEN_UPLOAD,
28
+ repo_type='dataset',
29
  )
30
  repo.git_pull()
31
 
requirements.txt CHANGED
@@ -2,4 +2,4 @@ torch==1.13.1
2
  transformers==4.23.1
3
  tokenizers==0.13.2
4
  sentencepiece==0.1.96
5
- huggingface_hub
 
2
  transformers==4.23.1
3
  tokenizers==0.13.2
4
  sentencepiece==0.1.96
5
+ huggingface_hub==0.13.4