RanM commited on
Commit
dd55a1c
·
verified ·
1 Parent(s): 077cde0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -21,6 +21,7 @@ def generate_image(prompt):
21
  buffered = BytesIO()
22
  image.save(buffered, format="JPEG")
23
  image_bytes = buffered.getvalue()
 
24
  return image_bytes
25
  else:
26
  raise Exception("No images returned by the model.")
 
21
  buffered = BytesIO()
22
  image.save(buffered, format="JPEG")
23
  image_bytes = buffered.getvalue()
24
+ print(f'image_bytes:{image_bytes}')
25
  return image_bytes
26
  else:
27
  raise Exception("No images returned by the model.")