From 439417f4baad3a4fb4ac094271c9b43b4675611e Mon Sep 17 00:00:00 2001 From: Catrunaround <129796960+Catrunaround@users.noreply.github.com> Date: Mon, 8 Jul 2024 20:20:57 -0700 Subject: [PATCH] fix api question --- rag/scraper/Scrape_pdf/Scrape_pdf.py | 4 ++-- test.py | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/rag/scraper/Scrape_pdf/Scrape_pdf.py b/rag/scraper/Scrape_pdf/Scrape_pdf.py index db09c229..205ea955 100644 --- a/rag/scraper/Scrape_pdf/Scrape_pdf.py +++ b/rag/scraper/Scrape_pdf/Scrape_pdf.py @@ -1,7 +1,7 @@ -from nougat import pdf_to_md +from rag.scraper.Scrape_pdf.nougat import pdf_to_md import fitz from pathlib import Path -from pdf_helper import missing_page_fill +from rag.scraper.Scrape_pdf.pdf_helper import missing_page_fill import os diff --git a/test.py b/test.py index e69de29b..69f68ca4 100644 --- a/test.py +++ b/test.py @@ -0,0 +1,3 @@ +import nougat +print(dir(nougat)) +