Carlosito16 commited on
Commit
469babf
1 Parent(s): ff01ba2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -126,7 +126,7 @@ if "session_rating" not in st.session_state:
126
  st.session_state.session_rating = 0
127
 
128
 
129
- service_account = gspread.service_account_from_dict(credential)
130
  workbook= service_account.open("aitGPT-qa-log")
131
  worksheet_qa = workbook.worksheet("Sheet1")
132
  worksheet_comment = workbook.worksheet("Sheet2")
 
126
  st.session_state.session_rating = 0
127
 
128
 
129
+ service_account = gspread.service_account_from_dict(st.secrets["google_sheet_credential"])
130
  workbook= service_account.open("aitGPT-qa-log")
131
  worksheet_qa = workbook.worksheet("Sheet1")
132
  worksheet_comment = workbook.worksheet("Sheet2")