Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,8 +4,9 @@ import gspread
|
|
4 |
from google.auth import default
|
5 |
|
6 |
# Authenticate and authorize with Google Sheets
|
7 |
-
creds, _ = default()
|
8 |
-
gc = gspread.authorize(creds)
|
|
|
9 |
|
10 |
# Specify your Google Sheets credentials, sheet_id, and worksheet_name
|
11 |
sheet_id = "18hnoTsEaGMWMael42MXubb-FzAe5jJB5RpaSolIXyb0"
|
|
|
4 |
from google.auth import default
|
5 |
|
6 |
# Authenticate and authorize with Google Sheets
|
7 |
+
#creds, _ = default()
|
8 |
+
#gc = gspread.authorize(creds)
|
9 |
+
gc = gspread.service_account(filename='botresponse-6f1a8c749aa0.json')
|
10 |
|
11 |
# Specify your Google Sheets credentials, sheet_id, and worksheet_name
|
12 |
sheet_id = "18hnoTsEaGMWMael42MXubb-FzAe5jJB5RpaSolIXyb0"
|