oliverwang15 commited on
Commit
2851b7a
·
1 Parent(s): 413dccd

fix bugs on Exp_training

Browse files
Files changed (1) hide show
  1. backend.py +2 -2
backend.py CHANGED
@@ -368,7 +368,7 @@ class Backend:
368
  df = pd.read_csv('./offline_results/results_all_gpt4.csv')
369
  elif answer_type == 'New_GPT_4_pdf':
370
  df = pd.read_csv('./offline_results/results_new_pdf.csv')
371
- elif answer_type == 'Exp_text':
372
  df = pd.read_csv('./offline_results/exp_test.csv')
373
  elif answer_type == 'Exp_Group_A':
374
  df = pd.read_csv('./offline_results/exp_ga.csv')
@@ -400,7 +400,7 @@ class Backend:
400
 
401
  self.text_list.append(text)
402
 
403
- elif answer_type in ['Exp_text', 'Exp_Group_A', 'Exp_Group_B']:
404
  self.filename_list = df['fn'].tolist()
405
  self.text_list = df['content'].tolist()
406
 
 
368
  df = pd.read_csv('./offline_results/results_all_gpt4.csv')
369
  elif answer_type == 'New_GPT_4_pdf':
370
  df = pd.read_csv('./offline_results/results_new_pdf.csv')
371
+ elif answer_type == 'Exp_training':
372
  df = pd.read_csv('./offline_results/exp_test.csv')
373
  elif answer_type == 'Exp_Group_A':
374
  df = pd.read_csv('./offline_results/exp_ga.csv')
 
400
 
401
  self.text_list.append(text)
402
 
403
+ elif answer_type in ['Exp_training', 'Exp_Group_A', 'Exp_Group_B']:
404
  self.filename_list = df['fn'].tolist()
405
  self.text_list = df['content'].tolist()
406