Skip to content

Commit

Permalink
fix issues with upscaler
Browse files Browse the repository at this point in the history
  • Loading branch information
xieyongliang committed Apr 10, 2023
1 parent 218d298 commit ccbfa67
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/call_queue.py
Expand Up @@ -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:
Expand Down

0 comments on commit ccbfa67

Please sign in to comment.