Spaces:
Runtime error
Runtime error
Update stri.py
Browse files
stri.py
CHANGED
@@ -78,8 +78,8 @@ if st.button('Сгенерировать'):
|
|
78 |
|
79 |
for i in indices[:num_books_per_page]:
|
80 |
cols[0].write("## " + books['title'][i])
|
81 |
-
cols[0].
|
82 |
-
cols[0].
|
83 |
image_url = books['image_url'][i]
|
84 |
response = requests.get(image_url)
|
85 |
image = Image.open(BytesIO(response.content))
|
|
|
78 |
|
79 |
for i in indices[:num_books_per_page]:
|
80 |
cols[0].write("## " + books['title'][i])
|
81 |
+
cols[0].markdown("**Автор:** " + books['author'][i])
|
82 |
+
cols[0].markdown("**Аннотация:** " + books['annotation'][i])
|
83 |
image_url = books['image_url'][i]
|
84 |
response = requests.get(image_url)
|
85 |
image = Image.open(BytesIO(response.content))
|