woods-today commited on
Commit
351b0b4
·
1 Parent(s): 50a1127

Working on it

Browse files
Files changed (1) hide show
  1. routers/training.py +1 -1
routers/training.py CHANGED
@@ -32,7 +32,7 @@ async def hifunction():
32
  print(images[0])
33
 
34
  buffered = BytesIO()
35
- image.save(buffered, format="JPEG")
36
  img_str = base64.b64encode(buffered.getvalue())
37
 
38
  # images[0].save("fantasy_landscape.png")
 
32
  print(images[0])
33
 
34
  buffered = BytesIO()
35
+ images[0].save(buffered, format="JPEG")
36
  img_str = base64.b64encode(buffered.getvalue())
37
 
38
  # images[0].save("fantasy_landscape.png")