Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -91,7 +91,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
| 91 |
|
| 92 |
# Filter the dataset to include ONLY the target task ID
|
| 93 |
# This uses the 'filter' method available on Hugging Face datasets.
|
| 94 |
-
subset = dataset.filter(lambda example: example['task_id']
|
| 95 |
|
| 96 |
results_log = []
|
| 97 |
answers_payload = []
|
|
|
|
| 91 |
|
| 92 |
# Filter the dataset to include ONLY the target task ID
|
| 93 |
# This uses the 'filter' method available on Hugging Face datasets.
|
| 94 |
+
subset = dataset.filter(lambda example: example['task_id'] in target_task_ids)
|
| 95 |
|
| 96 |
results_log = []
|
| 97 |
answers_payload = []
|