mery22 commited on
Commit
cde888e
·
verified ·
1 Parent(s): 0d51287

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -79,7 +79,7 @@ import json
79
  GOOGLE_SERVICE_ACCOUNT_JSON = st.secrets["GOOGLE_SERVICE_ACCOUNT_JSON"]
80
 
81
  # Google Sheets setup
82
- scope = ["https://spreadsheets.google.com/feeds", "https://www.googleapis.com/auth/drive"]
83
  service_account_info = json.loads(GOOGLE_SERVICE_ACCOUNT_JSON)
84
  creds = ServiceAccountCredentials.from_json_keyfile_dict(service_account_info, scope)
85
  client = gspread.authorize(creds)
 
79
  GOOGLE_SERVICE_ACCOUNT_JSON = st.secrets["GOOGLE_SERVICE_ACCOUNT_JSON"]
80
 
81
  # Google Sheets setup
82
+ scope = ["https://www.googleapis.com/auth/spreadsheets", "https://www.googleapis.com/auth/drive"]
83
  service_account_info = json.loads(GOOGLE_SERVICE_ACCOUNT_JSON)
84
  creds = ServiceAccountCredentials.from_json_keyfile_dict(service_account_info, scope)
85
  client = gspread.authorize(creds)