Spaces:
Runtime error
Runtime error
Tristan Thrush
commited on
Commit
•
a8e5895
1
Parent(s):
d073ff1
debug
Browse files
app.py
CHANGED
@@ -66,7 +66,7 @@ with demo:
|
|
66 |
query = parse_qs(dummy[1:])
|
67 |
assert "assignmentId" in query, "No assignment ID provided, unable to submit"
|
68 |
state["assignmentId"] = query["assignmentId"][0]
|
69 |
-
url = f"https://workersandbox.mturk.com/mturk/externalSubmit?assignmentId={state[
|
70 |
x = requests.post(url)
|
71 |
return str(x) + " With assignmentId " + state["assignmentId"] + "\n" + x.text, state, dummy
|
72 |
|
|
|
66 |
query = parse_qs(dummy[1:])
|
67 |
assert "assignmentId" in query, "No assignment ID provided, unable to submit"
|
68 |
state["assignmentId"] = query["assignmentId"][0]
|
69 |
+
url = f"https://workersandbox.mturk.com/mturk/externalSubmit?assignmentId={state['assignmentId']}&colorChoice=blue"
|
70 |
x = requests.post(url)
|
71 |
return str(x) + " With assignmentId " + state["assignmentId"] + "\n" + x.text, state, dummy
|
72 |
|