awacke1 commited on
Commit
7f46ec8
1 Parent(s): e6d5b6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -119,6 +119,7 @@ def predict(prompt, guidance, steps, seed=1231231):
119
  #image.save(filename)
120
  encoded_image = encode_image(image)
121
  html_link = f'<a href="data:image/png;base64,{encoded_image}" download="{filename}">Download Image</a>'
 
122
 
123
 
124
 
 
119
  #image.save(filename)
120
  encoded_image = encode_image(image)
121
  html_link = f'<a href="data:image/png;base64,{encoded_image}" download="{filename}">Download Image</a>'
122
+ gr.write(html_link)
123
 
124
 
125