randydev commited on
Commit
b3419e7
·
verified ·
1 Parent(s): ffb6fc3

Update fluxai.py

Browse files
Files changed (1) hide show
  1. fluxai.py +0 -1
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