Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -140,6 +140,8 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
| 140 |
}
|
| 141 |
status_update = f"Agent finished. Submitting {len(answers_payload)} answers for user '{username}'..."
|
| 142 |
print(status_update)
|
|
|
|
|
|
|
| 143 |
|
| 144 |
# 5. Submit
|
| 145 |
print(f"Submitting {len(answers_payload)} answers to: {submit_url}")
|
|
|
|
| 140 |
}
|
| 141 |
status_update = f"Agent finished. Submitting {len(answers_payload)} answers for user '{username}'..."
|
| 142 |
print(status_update)
|
| 143 |
+
import json
|
| 144 |
+
print("📤 SUBMISSION PAYLOAD →", json.dumps(submission_data, indent=2))
|
| 145 |
|
| 146 |
# 5. Submit
|
| 147 |
print(f"Submitting {len(answers_payload)} answers to: {submit_url}")
|