Omnibus commited on
Commit
3ea1bd6
1 Parent(s): b87e516

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ def run_dif(out_prompt):
37
  print (f'bytes:: {io.BytesIO(r.content)}')
38
  str_equivalent_image = base64.b64encode(img_buffer.getvalue()).decode()
39
  img_tag = "<img src='data:image/png;base64," + str_equivalent_image + "'/>"
40
- out_html+=f"<div><a href='https://huggingface.co/models/{ea}'>{ea}</a><br>"+img_tag+"</div>"
41
  out = Image.open(io.BytesIO(r.content))
42
  out_box.append(out)
43
  html_out = "<div class='grid_class'>"+out_html+"</div>"
 
37
  print (f'bytes:: {io.BytesIO(r.content)}')
38
  str_equivalent_image = base64.b64encode(img_buffer.getvalue()).decode()
39
  img_tag = "<img src='data:image/png;base64," + str_equivalent_image + "'/>"
40
+ out_html+=f"<div><a href='https://huggingface.co/models/{models[i]}'>{models[i]}</a><br>"+img_tag+"</div>"
41
  out = Image.open(io.BytesIO(r.content))
42
  out_box.append(out)
43
  html_out = "<div class='grid_class'>"+out_html+"</div>"