Spaces:
Runtime error
Runtime error
Rename pages/stri.py to pages/book.py
Browse files
pages/{stri.py → book.py}
RENAMED
@@ -66,7 +66,6 @@ if generate_button:
|
|
66 |
cols[1].markdown("**Автор:** " + books['author'][i])
|
67 |
cols[1].markdown("**Аннотация:** " + books['annotation'][i])
|
68 |
image_url = books['image_url'][i]
|
69 |
-
|
70 |
response = requests.get(image_url)
|
71 |
image = Image.open(BytesIO(response.content))
|
72 |
cols[0].image(image)
|
|
|
66 |
cols[1].markdown("**Автор:** " + books['author'][i])
|
67 |
cols[1].markdown("**Аннотация:** " + books['annotation'][i])
|
68 |
image_url = books['image_url'][i]
|
|
|
69 |
response = requests.get(image_url)
|
70 |
image = Image.open(BytesIO(response.content))
|
71 |
cols[0].image(image)
|