Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -76,7 +76,7 @@ def process_image_and_text(subject_image, adapter_dict, prompt, _unused1, _unuse
|
|
| 76 |
# Extract base64 image from 'blended' key
|
| 77 |
if "blended" in data:
|
| 78 |
try:
|
| 79 |
-
blended_bytes = base64.b64decode(data["
|
| 80 |
raw_img = Image.open(BytesIO(blended_bytes)).convert("RGB")
|
| 81 |
return raw_img, raw_img
|
| 82 |
except Exception:
|
|
|
|
| 76 |
# Extract base64 image from 'blended' key
|
| 77 |
if "blended" in data:
|
| 78 |
try:
|
| 79 |
+
blended_bytes = base64.b64decode(data["raw_result"])
|
| 80 |
raw_img = Image.open(BytesIO(blended_bytes)).convert("RGB")
|
| 81 |
return raw_img, raw_img
|
| 82 |
except Exception:
|