prthm11 commited on
Commit
bff294b
·
verified ·
1 Parent(s): 3deaf62

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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