Spaces:
Runtime error
Runtime error
BennoKrojer
commited on
Commit
•
2ce2e3c
1
Parent(s):
f4d85d5
app.py
CHANGED
@@ -51,7 +51,7 @@ if st.session_state.show:
|
|
51 |
img = Image.open(io.BytesIO(requests.get(img_urls[index], stream=True).content))
|
52 |
img_width, img_height = img.size
|
53 |
smaller = min(img_width, img_height)
|
54 |
-
images[true_idx] = ImageOps.expand(img,border=smaller//
|
55 |
if true_idx == index:
|
56 |
cap = f'{true_idx} (TARGET IMAGE)'
|
57 |
else:
|
|
|
51 |
img = Image.open(io.BytesIO(requests.get(img_urls[index], stream=True).content))
|
52 |
img_width, img_height = img.size
|
53 |
smaller = min(img_width, img_height)
|
54 |
+
images[true_idx] = ImageOps.expand(img,border=smaller//8,fill='green')
|
55 |
if true_idx == index:
|
56 |
cap = f'{true_idx} (TARGET IMAGE)'
|
57 |
else:
|