Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
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 |
|