MARI-posa commited on
Commit
0184394
·
1 Parent(s): 972a5b3

Update stri.py

Browse files
Files changed (1) hide show
  1. stri.py +2 -2
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].write("**Автор:**", books['author'][i])
82
- cols[0].write("**Аннотация:**", books['annotation'][i])
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))