Update app.py
Browse files
app.py
CHANGED
@@ -460,7 +460,7 @@ def display_source_documents_with_images(source_documents, query):
|
|
460 |
highlighted_snippet = highlight_query_words(snippet, query)
|
461 |
|
462 |
st.markdown(f'<div class="source-content">{highlighted_snippet}</div>', unsafe_allow_html=True)
|
463 |
-
st.markdown(f"[View other results in this book](?page=pdf_details&filename={pdf_name}&page_number={page_number})", unsafe_allow_html=True)
|
464 |
|
465 |
logger.debug(f"Successfully displayed content for {pdf_name}, page {page_number + 1}")
|
466 |
|
|
|
460 |
highlighted_snippet = highlight_query_words(snippet, query)
|
461 |
|
462 |
st.markdown(f'<div class="source-content">{highlighted_snippet}</div>', unsafe_allow_html=True)
|
463 |
+
# st.markdown(f"[View other results in this book](?page=pdf_details&filename={pdf_name}&page_number={page_number})", unsafe_allow_html=True)
|
464 |
|
465 |
logger.debug(f"Successfully displayed content for {pdf_name}, page {page_number + 1}")
|
466 |
|