周倬孚 commited on
Commit
7f4fb86
·
1 Parent(s): a6f3675

fix bugs on auto save

Browse files
Files changed (2) hide show
  1. app.py +1 -0
  2. save_data.py +1 -0
app.py CHANGED
@@ -273,6 +273,7 @@ if __name__ == "__main__":
273
  outputs=[final_answer, session_index]
274
  )
275
 
 
276
  evaluate_btn = gr.Button("Evaluate")
277
  evaluation_result = gr.Textbox(label="Evaluation Result")
278
 
 
273
  outputs=[final_answer, session_index]
274
  )
275
 
276
+
277
  evaluate_btn = gr.Button("Evaluate")
278
  evaluation_result = gr.Textbox(label="Evaluation Result")
279
 
save_data.py CHANGED
@@ -19,6 +19,7 @@ def load_envs(local=False):
19
  return service_account_info, SHEET_IDs
20
 
21
 
 
22
  def get_sheet_service(local=False):
23
  """Get the google sheet service object."""
24
  service_account_info, SHEET_ID = load_envs(local=local)
 
19
  return service_account_info, SHEET_IDs
20
 
21
 
22
+
23
  def get_sheet_service(local=False):
24
  """Get the google sheet service object."""
25
  service_account_info, SHEET_ID = load_envs(local=local)