Spaces:
Runtime error
Runtime error
BennoKrojer
commited on
Commit
•
be96cc4
1
Parent(s):
236866f
app.py
CHANGED
@@ -40,7 +40,7 @@ index= int(col1.number_input('Image Index from 0 to 9', value=0, min_value=0, ma
|
|
40 |
|
41 |
|
42 |
img = images[index]
|
43 |
-
images[index] = ImageOps.expand(Image.open(io.BytesIO(requests.get(images[index], stream=True))),border=10,fill='blue')
|
44 |
|
45 |
col1.image(img, use_column_width=True)
|
46 |
col2.image(images, width=150, caption=list(range(10)))
|
|
|
40 |
|
41 |
|
42 |
img = images[index]
|
43 |
+
images[index] = ImageOps.expand(Image.open(io.BytesIO(requests.get(images[index], stream=True).content)),border=10,fill='blue')
|
44 |
|
45 |
col1.image(img, use_column_width=True)
|
46 |
col2.image(images, width=150, caption=list(range(10)))
|