Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -154,7 +154,8 @@ def process_inputs(llm, file, relevance, diversity):
|
|
154 |
|
155 |
# Extract the first column
|
156 |
questions_list = df.iloc[:, 0]
|
157 |
-
|
|
|
158 |
with pd.ExcelWriter(output_file, engine='openpyxl') as writer:
|
159 |
questions_list.to_frame(name='Questions').to_excel(writer, index=False, startrow=1)
|
160 |
else:
|
|
|
154 |
|
155 |
# Extract the first column
|
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:
|