CognitiveScience commited on
Commit
ab427b2
1 Parent(s): 8d8c4e5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -34,16 +34,15 @@ TOKEN = os.environ.get('HF_KEY')
34
  repo = huggingface_hub.Repository(
35
  local_dir="data",
36
  repo_type="space",
37
- clone_from="CogSphere/aCogSphere",
38
  use_auth_token=TOKEN
39
  )
40
  repo.git_pull()
41
 
42
- from huggingface_hub import whoami
43
- whoami()
44
 
45
 
46
- login(token=TOKEN)
47
 
48
  # Set db to latest
49
  #shutil.copyfile("./data/reviews01.db", DB_FILE)
 
34
  repo = huggingface_hub.Repository(
35
  local_dir="data",
36
  repo_type="space",
37
+ clone_from="CognitiveScience/csdhdata",
38
  use_auth_token=TOKEN
39
  )
40
  repo.git_pull()
41
 
42
+ TOKEN2 = os.environ.get('HF_KEY')
 
43
 
44
 
45
+ login(token=TOKEN2)
46
 
47
  # Set db to latest
48
  #shutil.copyfile("./data/reviews01.db", DB_FILE)