awacke1 commited on
Commit
e6d5b6f
1 Parent(s): 634305f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -73,7 +73,7 @@ def safe_filename(text):
73
  def encode_image(image):
74
  """Encode image to base64."""
75
  buffered = BytesIO()
76
- image.save(buffered, format="PNG")
77
  return base64.b64encode(buffered.getvalue()).decode()
78
 
79
  def predict(prompt, guidance, steps, seed=1231231):
 
73
  def encode_image(image):
74
  """Encode image to base64."""
75
  buffered = BytesIO()
76
+ #image.save(buffered, format="PNG")
77
  return base64.b64encode(buffered.getvalue()).decode()
78
 
79
  def predict(prompt, guidance, steps, seed=1231231):