jcho02 commited on
Commit
12f9952
·
1 Parent(s): 90a2290

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
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"