Spaces:
Runtime error
Runtime error
Tristan Thrush
commited on
Commit
•
2f7020e
1
Parent(s):
d48bb2b
debug statements in query getter
Browse files
app.py
CHANGED
@@ -64,6 +64,8 @@ with demo:
|
|
64 |
# Update the URL below to switch from Sandbox to real data collection
|
65 |
def _submit(state, dummy):
|
66 |
query = parse_qs(dummy[1:])
|
|
|
|
|
67 |
assert "assignment_id" in query, "No assignment ID provided, unable to submit"
|
68 |
state["assignment_id"] = query["assignment_id"]
|
69 |
url = "https://workersandbox.mturk.com/mturk/externalSubmit"
|
|
|
64 |
# Update the URL below to switch from Sandbox to real data collection
|
65 |
def _submit(state, dummy):
|
66 |
query = parse_qs(dummy[1:])
|
67 |
+
print(dummy)
|
68 |
+
print(query)
|
69 |
assert "assignment_id" in query, "No assignment ID provided, unable to submit"
|
70 |
state["assignment_id"] = query["assignment_id"]
|
71 |
url = "https://workersandbox.mturk.com/mturk/externalSubmit"
|