EmilyWitko HF staff commited on
Commit
908ce4a
1 Parent(s): 9ad3ddb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -8,19 +8,19 @@ import datetime
8
  from apscheduler.schedulers.background import BackgroundScheduler
9
 
10
 
11
- DB_FILE = "./reviews.db"
12
 
13
  TOKEN = os.environ.get('HUB_TOKEN')
14
  repo = huggingface_hub.Repository(
15
  local_dir="data",
16
  repo_type="dataset",
17
- clone_from="freddyaboulton/gradio-reviews",
18
  use_auth_token=TOKEN
19
  )
20
  repo.git_pull()
21
 
22
  # Set db to latest
23
- shutil.copyfile("./data/reviews.db", DB_FILE)
24
 
25
 
26
  # Create table if it doesn't already exist
 
8
  from apscheduler.schedulers.background import BackgroundScheduler
9
 
10
 
11
+ DB_FILE = "./answers.db"
12
 
13
  TOKEN = os.environ.get('HUB_TOKEN')
14
  repo = huggingface_hub.Repository(
15
  local_dir="data",
16
  repo_type="dataset",
17
+ clone_from="emilywitko/StudyGroupAnswers",
18
  use_auth_token=TOKEN
19
  )
20
  repo.git_pull()
21
 
22
  # Set db to latest
23
+ shutil.copyfile("./data/answers.db", DB_FILE)
24
 
25
 
26
  # Create table if it doesn't already exist