Spaces:
Runtime error
Runtime error
Tristan Thrush
commited on
Commit
•
d48bb2b
1
Parent(s):
7ed08ed
fixed typo in assignment id getter
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ with demo:
|
|
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["
|
69 |
url = "https://workersandbox.mturk.com/mturk/externalSubmit"
|
70 |
return requests.post(url, data=state)
|
71 |
|
|
|
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"
|
70 |
return requests.post(url, data=state)
|
71 |
|