woods-today commited on
Commit
640e81f
·
1 Parent(s): 771c3c3

Working on it

Browse files
routers/__pycache__/training.cpython-311.pyc CHANGED
Binary files a/routers/__pycache__/training.cpython-311.pyc and b/routers/__pycache__/training.cpython-311.pyc differ
 
routers/training.py CHANGED
@@ -44,7 +44,7 @@ async def performAction(actionBody: ActionBody):
44
 
45
  return {
46
  "imageName" : imgUUID+".png",
47
- "image": "data:image/jpeg;base64,"+img_str
48
  }
49
 
50
 
@@ -67,5 +67,5 @@ async def hifunction():
67
  # images[0].save("fantasy_landscape.png")
68
 
69
  return {
70
- "image": "data:image/jpeg;base64,"+img_str
71
  }
 
44
 
45
  return {
46
  "imageName" : imgUUID+".png",
47
+ "image": "data:image/jpeg;base64,"+str(img_str)
48
  }
49
 
50
 
 
67
  # images[0].save("fantasy_landscape.png")
68
 
69
  return {
70
+ "image": "data:image/jpeg;base64,"+str(img_str)
71
  }