Cachoups commited on
Commit
1c10bf3
·
verified ·
1 Parent(s): dbf97ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -67,7 +67,7 @@ def extract_and_paragraph(pdf1, pdf2, paragraph):
67
  paragraphs_1 = lib.read_pdf.extract_and_format_paragraphs(pdf1_path)
68
  paragraphs_2 = lib.read_pdf.extract_and_format_paragraphs(pdf2_path)
69
 
70
- start_keyword = "Main risks to"
71
  end_keywords = ["4. Appendix", "Annex:", "4. Annex", "Detailed tables", "ACKNOWLEDGEMENTS", "STATISTICAL ANNEX", "PROSPECTS BY MEMBER STATES"]
72
 
73
  start_index1, end_index1 = lib.read_pdf.find_text_range(paragraphs_1, start_keyword, end_keywords)
 
67
  paragraphs_1 = lib.read_pdf.extract_and_format_paragraphs(pdf1_path)
68
  paragraphs_2 = lib.read_pdf.extract_and_format_paragraphs(pdf2_path)
69
 
70
+ start_keyword = ["Main risks to", "Developments in Financial Markets"]
71
  end_keywords = ["4. Appendix", "Annex:", "4. Annex", "Detailed tables", "ACKNOWLEDGEMENTS", "STATISTICAL ANNEX", "PROSPECTS BY MEMBER STATES"]
72
 
73
  start_index1, end_index1 = lib.read_pdf.find_text_range(paragraphs_1, start_keyword, end_keywords)