Avanisha commited on
Commit
b86c082
·
verified ·
1 Parent(s): 5debd08

Update app.py

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