restruct html/js and cleanup

This commit is contained in:
Vladimir Mandic
2023-06-01 17:44:12 -04:00
parent e10d929190
commit 251dc341f9
22 changed files with 78 additions and 117 deletions
-1
View File
@@ -90,7 +90,6 @@ def save_image(image, fn, ext):
def encode_pil_to_base64(image):
# TODO jpeg
print('HERE1', vars(image))
with io.BytesIO() as output_bytes:
save_image(image, output_bytes, shared.opts.samples_format)
bytes_data = output_bytes.getvalue()