From ccbfa6744c2a44db2c155f42c7c6fc82451ba8b7 Mon Sep 17 00:00:00 2001 From: xieyongliang Date: Tue, 11 Apr 2023 06:54:07 +0800 Subject: [PATCH] fix issues with upscaler --- modules/call_queue.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/call_queue.py b/modules/call_queue.py index 7317dbc9ca1..d7d439b6adf 100644 --- a/modules/call_queue.py +++ b/modules/call_queue.py @@ -409,8 +409,7 @@ def sagemaker_inference(task, infer, username, sagemaker_endpoint, *args, **kwar images = [] for image in processed['images']: images.append(Image.open(io.BytesIO(base64.b64decode(image)))) - info = json.loads(processed['html_info']) - return images, json.dumps(info), modules.ui.plaintext_to_html('\n'.join(info['infotexts'])) + return images, '', '' def f(username, *args, **kwargs): if cmd_opts.pureui and func == modules.txt2img.txt2img: