BennoKrojer commited on
Commit
e3aed70
·
1 Parent(s): 189516e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -55,7 +55,7 @@ if st.session_state.show:
55
  img = Image.open(io.BytesIO(requests.get(img_urls[index], stream=True).content))
56
  img_width, img_height = img.size
57
  smaller = min(img_width, img_height)
58
- images[true_idx] = ImageOps.expand(img,border=smaller//8,fill='green')
59
  if true_idx == index:
60
  cap = f'{true_idx} (TARGET IMAGE)'
61
  else:
 
55
  img = Image.open(io.BytesIO(requests.get(img_urls[index], stream=True).content))
56
  img_width, img_height = img.size
57
  smaller = min(img_width, img_height)
58
+ images[true_idx] = ImageOps.expand(img_urls[true_idx],border=smaller//8,fill='green')
59
  if true_idx == index:
60
  cap = f'{true_idx} (TARGET IMAGE)'
61
  else: