RanM commited on
Commit
412c18a
·
verified ·
1 Parent(s): b10facf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ def generate_image(prompt):
34
  image_bytes = buffered.getvalue()
35
  img_str = base64.b64encode(image_bytes).decode("utf-8")
36
  print("Image encoded to base64")
37
- print(f'img_str: {img_str}')
38
  return img_str, None
39
  else:
40
  print(f"No images found in model output")
 
34
  image_bytes = buffered.getvalue()
35
  img_str = base64.b64encode(image_bytes).decode("utf-8")
36
  print("Image encoded to base64")
37
+ print(f'img_str: {img_str[:100]}...') # Print a snippet of the base64 string
38
  return img_str, None
39
  else:
40
  print(f"No images found in model output")