Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ import pytesseract
|
|
| 9 |
from werkzeug.utils import secure_filename
|
| 10 |
from langchain_groq import ChatGroq
|
| 11 |
from langgraph.prebuilt import create_react_agent
|
| 12 |
-
from pdf2image import convert_from_path
|
| 13 |
from concurrent.futures import ThreadPoolExecutor
|
| 14 |
from pdf2image.exceptions import PDFInfoNotInstalledError
|
| 15 |
from typing import Dict, TypedDict, Optional, Any
|
|
|
|
| 9 |
from werkzeug.utils import secure_filename
|
| 10 |
from langchain_groq import ChatGroq
|
| 11 |
from langgraph.prebuilt import create_react_agent
|
| 12 |
+
from pdf2image import convert_from_path, convert_from_bytes
|
| 13 |
from concurrent.futures import ThreadPoolExecutor
|
| 14 |
from pdf2image.exceptions import PDFInfoNotInstalledError
|
| 15 |
from typing import Dict, TypedDict, Optional, Any
|