Amirizaniani commited on
Commit
514398d
·
verified ·
1 Parent(s): 435638b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -156,8 +156,7 @@ def process_inputs(llm, file, relevance, diversity):
156
  questions_list = df.iloc[:, 0]
157
 
158
  output_file = "processed_questions.xlsx"
159
- with pd.ExcelWriter(output_file, engine='openpyxl') as writer:
160
- questions_list.to_frame(name='Questions').to_excel(writer, index=False, startrow=1)
161
  else:
162
  return "No questions provided.", None
163
 
 
156
  questions_list = df.iloc[:, 0]
157
 
158
  output_file = "processed_questions.xlsx"
159
+ questions_list.to_frame().to_excel(output_file, index=False)
 
160
  else:
161
  return "No questions provided.", None
162