Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
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 |
|