Avanisha commited on
Commit
328ea6a
·
verified ·
1 Parent(s): 3d8e4a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -446,7 +446,7 @@ def display_source_documents_with_images(source_documents, query):
446
  highlighted_snippet = highlight_query_words(snippet, query)
447
 
448
  st.markdown(f'<div class="source-content">{highlighted_snippet}</div>', unsafe_allow_html=True)
449
- st.markdown(f"[View other results in this book](?page=pdf_details&filename={pdf_name}&page_number={page_number})", unsafe_allow_html=True)
450
 
451
  logger.debug(f"Successfully displayed content for {pdf_name}, page {page_number + 1}")
452
 
 
446
  highlighted_snippet = highlight_query_words(snippet, query)
447
 
448
  st.markdown(f'<div class="source-content">{highlighted_snippet}</div>', unsafe_allow_html=True)
449
+ # st.markdown(f"[View other results in this book](?page=pdf_details&filename={pdf_name}&page_number={page_number})", unsafe_allow_html=True)
450
 
451
  logger.debug(f"Successfully displayed content for {pdf_name}, page {page_number + 1}")
452