Update app.py
Browse files
app.py
CHANGED
|
@@ -27,7 +27,7 @@ def create_solutions(image_urls, names, file_ids):
|
|
| 27 |
solutions = [] #list to store all the objects
|
| 28 |
|
| 29 |
for image_url, class_name, file_id in zip(image_urls, names, file_ids):
|
| 30 |
-
obj = {"image": image_url, "answer":
|
| 31 |
solutions.append(obj)
|
| 32 |
print("object prepared")
|
| 33 |
return solutions
|
|
|
|
| 27 |
solutions = [] #list to store all the objects
|
| 28 |
|
| 29 |
for image_url, class_name, file_id in zip(image_urls, names, file_ids):
|
| 30 |
+
obj = {"image": image_url, "answer": class_name, "qcUser" : None, "normalfileID": file_id}
|
| 31 |
solutions.append(obj)
|
| 32 |
print("object prepared")
|
| 33 |
return solutions
|