m7mdal7aj commited on
Commit
f3dc719
1 Parent(s): 4b5b9d2

Update my_model/results/evaluation.py

Browse files
Files changed (1) hide show
  1. my_model/results/evaluation.py +1 -1
my_model/results/evaluation.py CHANGED
@@ -119,7 +119,7 @@ class KBVQAEvaluator:
119
  scores_df = pd.DataFrame(scores_data)
120
 
121
  # Saving the scores DataFrame to an Excel file
122
- with pd.ExcelWriter(filename+'.xlsx', engine='openpyxl', mode='w') as writer:
123
  self.df.to_excel(writer, sheet_name='Main Data', index=False)
124
  scores_df.to_excel(writer, sheet_name='Scores', index=False)
125
 
 
119
  scores_df = pd.DataFrame(scores_data)
120
 
121
  # Saving the scores DataFrame to an Excel file
122
+ with pd.ExcelWriter(save_filename+'.xlsx', engine='openpyxl', mode='w') as writer:
123
  self.df.to_excel(writer, sheet_name='Main Data', index=False)
124
  scores_df.to_excel(writer, sheet_name='Scores', index=False)
125