MARI-posa commited on
Commit
ea11e8e
1 Parent(s): 666ae32

Update pages/book.py

Browse files
Files changed (1) hide show
  1. pages/book.py +1 -0
pages/book.py CHANGED
@@ -71,6 +71,7 @@ if generate_button:
71
  image_url = books['image_url'][i]
72
  response = requests.get(image_url)
73
  image = Image.open(BytesIO(response.content))
 
74
  with col1:
75
  st.write("<div style='text-align: center; font-size: 5px;'></div>", unsafe_allow_html=True)
76
  st.image(image)
 
71
  image_url = books['image_url'][i]
72
  response = requests.get(image_url)
73
  image = Image.open(BytesIO(response.content))
74
+ st.markdown(f"**[Купить книгу]({books['page_url'][i]})**")
75
  with col1:
76
  st.write("<div style='text-align: center; font-size: 5px;'></div>", unsafe_allow_html=True)
77
  st.image(image)