# ============================================================ # NEW DEPENDENCIES REQUIRED BY THE INTEGRATED MODULES # Append these to your EXISTING requirements.txt. # Do NOT delete or replace your current requirements.txt. # ============================================================ # REQUIRED — without this, the app will crash on startup with # ModuleNotFoundError. gstin_validator.py, free_item_splitter.py, # ocr_client.py, pdf_utils.py, seller_gstin_lookup.py, and # gst_calculator.py all import `from langsmith import traceable` # at module load time, and app.py imports all of these at the # top of the file with no try/except guard. langsmith>=0.1.0 # REQUIRED — used by preprocessing.py (ImagePreprocessor: deskew, # orientation correction, contrast/sharpen). app.py already guards # this import in a try/except, so the app itself won't crash if # these are missing, but image preprocessing will silently disable. opencv-python-headless==4.10.0.84 numpy==1.26.4 scipy==1.13.1 # ALREADY LIKELY PRESENT — app.py uses `fitz` (PyMuPDF) and # pdf_utils.py needs it too. Only add if not already pinned. pymupdf==1.24.9 # OPTIONAL — only needed if you later wire in cache_manager.py # (result caching / duplicate detection). NOT currently called # from app.py, so not required today. # imagehash==4.3.1