CobaltZvc commited on
Commit
60673ef
1 Parent(s): c44b260

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -83,11 +83,11 @@ def search_internet(question):
83
  openai.api_key = st.secrets["OPENAI_KEY"] #os.environ("OPENAI_KEY") #os.environ['OPENAI_KEY']
84
  date_time = str(datetime.now())
85
 
86
- dictionary = st.secrets("GSHEET_KEY")
87
- json_object = json.dumps(dictionary, indent=4)
88
 
89
  def g_sheet_log(myinput, output):
90
- SERVICE_ACCOUNT_FILE = json_object #'gsheet.json'
91
 
92
  credentials = service_account.Credentials.from_service_account_file(
93
  filename=SERVICE_ACCOUNT_FILE
 
83
  openai.api_key = st.secrets["OPENAI_KEY"] #os.environ("OPENAI_KEY") #os.environ['OPENAI_KEY']
84
  date_time = str(datetime.now())
85
 
86
+ # dictionary = st.secrets("GSHEET_KEY")
87
+ # json_object = json.dumps(dictionary, indent=4)
88
 
89
  def g_sheet_log(myinput, output):
90
+ SERVICE_ACCOUNT_FILE = 'gsheet.json'
91
 
92
  credentials = service_account.Credentials.from_service_account_file(
93
  filename=SERVICE_ACCOUNT_FILE