Spaces:
Runtime error
Runtime error
Commit
·
55e9fec
1
Parent(s):
e6ec063
Update app.py
Browse files
app.py
CHANGED
@@ -56,7 +56,7 @@ if page == 'Review Analysis':
|
|
56 |
# Authenticate Google Sheets API
|
57 |
#gc = gspread.service_account(filename='arctic-rite-381810-e8bee8664772.json')
|
58 |
# Authenticate Google Sheets API using the dictionary
|
59 |
-
gc = gspread.
|
60 |
|
61 |
# Ask user for Google Sheet URL
|
62 |
sheet_url = st.text_input('Enter the URL of your Google Sheet')
|
@@ -267,7 +267,7 @@ if page == 'Feature Benefits':
|
|
267 |
# Authenticate Google Sheets API
|
268 |
#gc = gspread.service_account(filename='arctic-rite-381810-e8bee8664772.json')
|
269 |
|
270 |
-
gc = gspread.
|
271 |
|
272 |
# Ask user for Google Sheet URL
|
273 |
sheet_url = st.text_input('Enter the URL of your Google Sheet')
|
@@ -468,7 +468,7 @@ if page == 'Identify Avatars':
|
|
468 |
# Authenticate Google Sheets API
|
469 |
# gc = gspread.service_account(filename='arctic-rite-381810-e8bee8664772.json')
|
470 |
|
471 |
-
gc = gspread.
|
472 |
|
473 |
|
474 |
|
@@ -735,7 +735,7 @@ if page == 'Tone of Voice Manual':
|
|
735 |
# Authenticate Google Sheets API
|
736 |
#gc = gspread.service_account(filename='arctic-rite-381810-e8bee8664772.json')
|
737 |
|
738 |
-
gc = gspread.
|
739 |
|
740 |
# Ask user for Google Sheet URL
|
741 |
sheet_url = st.text_input('Enter the URL of your Google Sheet')
|
|
|
56 |
# Authenticate Google Sheets API
|
57 |
#gc = gspread.service_account(filename='arctic-rite-381810-e8bee8664772.json')
|
58 |
# Authenticate Google Sheets API using the dictionary
|
59 |
+
gc = gspread.service_account_from_dict(credentials_dict)
|
60 |
|
61 |
# Ask user for Google Sheet URL
|
62 |
sheet_url = st.text_input('Enter the URL of your Google Sheet')
|
|
|
267 |
# Authenticate Google Sheets API
|
268 |
#gc = gspread.service_account(filename='arctic-rite-381810-e8bee8664772.json')
|
269 |
|
270 |
+
gc = gspread.service_account_from_dict(credentials_dict)
|
271 |
|
272 |
# Ask user for Google Sheet URL
|
273 |
sheet_url = st.text_input('Enter the URL of your Google Sheet')
|
|
|
468 |
# Authenticate Google Sheets API
|
469 |
# gc = gspread.service_account(filename='arctic-rite-381810-e8bee8664772.json')
|
470 |
|
471 |
+
gc = gspread.service_account_from_dict(credentials_dict)
|
472 |
|
473 |
|
474 |
|
|
|
735 |
# Authenticate Google Sheets API
|
736 |
#gc = gspread.service_account(filename='arctic-rite-381810-e8bee8664772.json')
|
737 |
|
738 |
+
gc = gspread.service_account_from_dict(credentials_dict)
|
739 |
|
740 |
# Ask user for Google Sheet URL
|
741 |
sheet_url = st.text_input('Enter the URL of your Google Sheet')
|