Commit ab64d290 authored by novelailab's avatar novelailab

images, not image

parent 0ebb8623
......@@ -78,7 +78,7 @@ def generate(request: GenerationRequest):
image = simplejpeg.encode_jpeg(images[x], quality=95)
#get base64 of image
image = base64.b64encode(image).decode("ascii")
image[x] = image
images[x] = image
process_time = time.perf_counter() - t
logger.info(f"Request took {process_time:0.3f} seconds")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment