Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -153,11 +153,10 @@ def process_inputs(llm, file, relevance, diversity):
|
|
153 |
return "The uploaded file must contain only one column of questions.", None
|
154 |
|
155 |
# Extract the first column
|
156 |
-
questions_list = df.iloc[
|
157 |
|
158 |
-
|
159 |
-
questions_df =
|
160 |
-
questions_df.to_excel(output_file, index=False, header=False)
|
161 |
else:
|
162 |
return "No questions provided.", None
|
163 |
|
|
|
153 |
return "The uploaded file must contain only one column of questions.", None
|
154 |
|
155 |
# Extract the first column
|
156 |
+
questions_list = df.iloc[:]
|
157 |
|
158 |
+
|
159 |
+
questions_df.to_excel(output_file, index=False)
|
|
|
160 |
else:
|
161 |
return "No questions provided.", None
|
162 |
|