michaelj commited on
Commit
1fa60a0
·
1 Parent(s): e7dba61
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -52,7 +52,7 @@ async def predict(prompt=Body(...),imgbase64data=Body(...)):
52
  # 将图片对象转换为bytes
53
  output_image_base64 = base64.b64encode(output_image.tobytes()).decode()
54
  fullbase="data:image/jpeg;base64,"+output_image_base64
55
- print("完成的图片:", data:image/jpeg;base64,output_image_base64)
56
  return output_image_base64
57
 
58
 
 
52
  # 将图片对象转换为bytes
53
  output_image_base64 = base64.b64encode(output_image.tobytes()).decode()
54
  fullbase="data:image/jpeg;base64,"+output_image_base64
55
+ print("完成的图片:", fullbase)
56
  return output_image_base64
57
 
58