ivyblossom commited on
Commit
d6f3e2c
·
1 Parent(s): 3a66f67

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -51,8 +51,7 @@ def main():
51
  context_page_num = answer['start']
52
  context_text = pdf_text_with_pages[context_page_num][1] # Use the page number directly (no need to adjust)
53
  st.write("Context:")
54
- st.write(f"Page Number: {context_page_num + 1}") # Add 1 to convert to 1-based index for display
55
  st.write(context_text)
56
 
57
  if __name__ == "__main__":
58
- main()
 
51
  context_page_num = answer['start']
52
  context_text = pdf_text_with_pages[context_page_num][1] # Use the page number directly (no need to adjust)
53
  st.write("Context:")
 
54
  st.write(context_text)
55
 
56
  if __name__ == "__main__":
57
+ main()