Potential Details fix
Browse files
app.py
CHANGED
@@ -186,7 +186,7 @@ def get_predicted_attributes(image_urls, category):
|
|
186 |
key, value = item.split(': ', 1)
|
187 |
|
188 |
if key == "details":
|
189 |
-
details_split = value.split("
|
190 |
if len(details_split) == 2:
|
191 |
result["details_1"] = details_split[0]
|
192 |
result["details_2"] = details_split[1]
|
|
|
186 |
key, value = item.split(': ', 1)
|
187 |
|
188 |
if key == "details":
|
189 |
+
details_split = value.split(", details: ")
|
190 |
if len(details_split) == 2:
|
191 |
result["details_1"] = details_split[0]
|
192 |
result["details_2"] = details_split[1]
|