Spaces:
Runtime error
Runtime error
Gonzalo Lope
commited on
Commit
·
9286f86
1
Parent(s):
d681a65
tried printing questions
Browse files
app.py
CHANGED
|
@@ -82,6 +82,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
| 82 |
# Add question data to a json file
|
| 83 |
with open("questions_full.json", "w") as f:
|
| 84 |
json.dump(questions_data, f, indent=4)
|
|
|
|
| 85 |
for item in questions_data:
|
| 86 |
task_id = item.get("task_id")
|
| 87 |
question_text = item.get("question")
|
|
|
|
| 82 |
# Add question data to a json file
|
| 83 |
with open("questions_full.json", "w") as f:
|
| 84 |
json.dump(questions_data, f, indent=4)
|
| 85 |
+
print(questions_data)
|
| 86 |
for item in questions_data:
|
| 87 |
task_id = item.get("task_id")
|
| 88 |
question_text = item.get("question")
|