Spaces:
Running
Running
Update fluxai.py
Browse files
fluxai.py
CHANGED
@@ -114,7 +114,6 @@ async def fluxai_image(payload: FluxAI):
|
|
114 |
|
115 |
enhanced_image_bytes = "akeno.jpg"
|
116 |
image.save(enhanced_image_bytes, format="JPEG", quality=95)
|
117 |
-
enhanced_image_bytes.seek(0)
|
118 |
with open(enhanced_image_bytes, "rb") as image_file:
|
119 |
encoded_string = base64.b64encode(image_file.read()).decode("utf-8")
|
120 |
|
|
|
114 |
|
115 |
enhanced_image_bytes = "akeno.jpg"
|
116 |
image.save(enhanced_image_bytes, format="JPEG", quality=95)
|
|
|
117 |
with open(enhanced_image_bytes, "rb") as image_file:
|
118 |
encoded_string = base64.b64encode(image_file.read()).decode("utf-8")
|
119 |
|