Spaces:
Running on CPU Upgrade

lunarflu HF staff commited on
Commit
7ade321
·
verified ·
1 Parent(s): 4ee9bca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -64,9 +64,11 @@ def update_google_sheet():
64
  """save data from HF Space -> google sheets (makes 1 API call)"""
65
  print("test")
66
  data = open(csv_file, 'r').read()
 
67
  # 1hQSsIg1Y9WdBF_CdNM1L1rUUREoxKqRTe3_ILo-WK8w = live
68
  # 1YJEwP7kZChI3Z2GKv4zFEfwwyQrO3zwXclv0QMrkOqA = test
69
  spreadsheet_id = "1hQSsIg1Y9WdBF_CdNM1L1rUUREoxKqRTe3_ILo-WK8w"
 
70
  gspread_bot.import_csv('', data)
71
  print({f"Google sheet {spreadsheet_id} successfully updated!"})
72
 
 
64
  """save data from HF Space -> google sheets (makes 1 API call)"""
65
  print("test")
66
  data = open(csv_file, 'r').read()
67
+ print("test")
68
  # 1hQSsIg1Y9WdBF_CdNM1L1rUUREoxKqRTe3_ILo-WK8w = live
69
  # 1YJEwP7kZChI3Z2GKv4zFEfwwyQrO3zwXclv0QMrkOqA = test
70
  spreadsheet_id = "1hQSsIg1Y9WdBF_CdNM1L1rUUREoxKqRTe3_ILo-WK8w"
71
+ print("test")
72
  gspread_bot.import_csv('', data)
73
  print({f"Google sheet {spreadsheet_id} successfully updated!"})
74