CognitiveScience commited on
Commit
d367c08
·
1 Parent(s): d704d43

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -39,10 +39,10 @@ repo = huggingface_hub.Repository(
39
  )
40
  repo.git_pull()
41
 
42
- #TOKEN2 = os.environ.get('HF_KEY') #"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" #
43
 
44
 
45
- login(token=TOKEN)
46
 
47
  # Set db to latest
48
  #shutil.copyfile("./data/reviews01.db", DB_FILE)
@@ -149,7 +149,7 @@ def backup_db_csv():
149
  #path1=hf_hub_url()
150
  #print (path1)
151
  #hf_hub_download(repo_id="CogSphere/aCogSphere", filename="./*.csv")
152
- hf_hub_download(repo_id="CognitiveScience/csdhdata", filename="./*.csv")
153
  #hf_hub_download(repo_id="CogSphere/aCogSphere", filename="./*.md")
154
  hf_hub_download(repo_id="CognitiveScience/csdhdata", filename="./*.md")
155
 
 
39
  )
40
  repo.git_pull()
41
 
42
+ TOKEN2 = "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" #
43
 
44
 
45
+ login(token=TOKEN2)
46
 
47
  # Set db to latest
48
  #shutil.copyfile("./data/reviews01.db", DB_FILE)
 
149
  #path1=hf_hub_url()
150
  #print (path1)
151
  #hf_hub_download(repo_id="CogSphere/aCogSphere", filename="./*.csv")
152
+ hf_hub_download(repo_id="CognitiveScience/csdhdata", filename="./*.db")
153
  #hf_hub_download(repo_id="CogSphere/aCogSphere", filename="./*.md")
154
  hf_hub_download(repo_id="CognitiveScience/csdhdata", filename="./*.md")
155