Spaces:
Runtime error
Runtime error
Commit
·
c004799
1
Parent(s):
be96cc4
app.py
CHANGED
|
@@ -40,7 +40,9 @@ 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).content)),border=10,fill='blue')
|
| 44 |
|
| 45 |
col1.image(img, use_column_width=True)
|
| 46 |
-
|
|
|
|
|
|
|
|
|
| 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 |
+
caps = list(range(10))
|
| 47 |
+
caps[5] = "**5**"
|
| 48 |
+
col2.image(images, width=150, caption=caps)
|