Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,6 +15,7 @@ def process_questions(example):
|
|
| 15 |
example["question_text"] = example["question"]
|
| 16 |
options = "\n".join([f"{chr(65+e)}. {op}" for e, op in enumerate(example["options"])])
|
| 17 |
example["question_text"] += "\n" + options
|
|
|
|
| 18 |
return example
|
| 19 |
|
| 20 |
dataset = concatenate_datasets([
|
|
|
|
| 15 |
example["question_text"] = example["question"]
|
| 16 |
options = "\n".join([f"{chr(65+e)}. {op}" for e, op in enumerate(example["options"])])
|
| 17 |
example["question_text"] += "\n" + options
|
| 18 |
+
example["question_text"] = [example["question_text"]]
|
| 19 |
return example
|
| 20 |
|
| 21 |
dataset = concatenate_datasets([
|