awacke1 commited on
Commit
c6ac53a
1 Parent(s): d1f9a0b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -176,7 +176,7 @@ def predict(prompt, guidance, steps, seed=1231231):
176
  print(f"#Image saved as {image_path}")
177
  encoded_image = encode_image(image)
178
  html_link = f'<a href="data:image/png;base64,{encoded_image}" download="{filename}">Download Image</a>'
179
- #gr.Markdown(html_link)
180
  except:
181
  return results.images[0]
182
 
 
176
  print(f"#Image saved as {image_path}")
177
  encoded_image = encode_image(image)
178
  html_link = f'<a href="data:image/png;base64,{encoded_image}" download="{filename}">Download Image</a>'
179
+ gr.HTML(html_link)
180
  except:
181
  return results.images[0]
182