roncmic commited on
Commit
dd9fba1
·
verified ·
1 Parent(s): 9f37ac3

Update app_pyvis_new.py

Browse files
Files changed (1) hide show
  1. app_pyvis_new.py +1 -1
app_pyvis_new.py CHANGED
@@ -416,7 +416,7 @@ def generate_unique_user_id():
416
  return f"{timestamp_str}_{random_str}"
417
 
418
  def load_initial_data():
419
- dbx = dropbox.Dropbox(ACCESS_TOKEN)
420
  try:
421
  # Try to download the existing CSV file from Dropbox
422
  metadata, res = dbx.files_download(DROPBOX_FILE_PATH)
 
416
  return f"{timestamp_str}_{random_str}"
417
 
418
  def load_initial_data():
419
+ dbx = get_dropbox_client()
420
  try:
421
  # Try to download the existing CSV file from Dropbox
422
  metadata, res = dbx.files_download(DROPBOX_FILE_PATH)