Spaces:
Saad0KH
/
Running on Zero

Saad0KH commited on
Commit
a22a3ef
ยท
verified ยท
1 Parent(s): 4320284

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -265,8 +265,8 @@ def tryon():
265
  mask_base64 = encode_image_to_base64(mask_image)
266
 
267
  return jsonify({
268
- 'output_image': output_bytes.hex(),
269
- 'mask_image': mask_bytes.hex()
270
  })
271
 
272
  if __name__ == "__main__":
 
265
  mask_base64 = encode_image_to_base64(mask_image)
266
 
267
  return jsonify({
268
+ 'output_image': output_base64,
269
+ 'mask_image': mask_base64
270
  })
271
 
272
  if __name__ == "__main__":