Spaces:
Running
Running
TheEeeeLin
commited on
Commit
•
f232fd6
1
Parent(s):
4be6b70
Update app.py
Browse files
app.py
CHANGED
@@ -176,7 +176,7 @@ def idphoto_inference(
|
|
176 |
),
|
177 |
}
|
178 |
else:
|
179 |
-
(
|
180 |
if idphoto_json["render_mode"] == text_lang_map[language]["Solid Color"]:
|
181 |
result_image_standard = np.uint8(
|
182 |
add_background(result_image_standard, bgr=idphoto_json["color_bgr"])
|
|
|
176 |
),
|
177 |
}
|
178 |
else:
|
179 |
+
(result_image_standard, result_image_hd, _, _) = result
|
180 |
if idphoto_json["render_mode"] == text_lang_map[language]["Solid Color"]:
|
181 |
result_image_standard = np.uint8(
|
182 |
add_background(result_image_standard, bgr=idphoto_json["color_bgr"])
|