Commit cb1263d0 authored by Sarah Clark's avatar Sarah Clark
Browse files

python3Packages.unstructured-inference: fix build

parent 5890806f
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -5,13 +5,11 @@
  setuptools,
  # runtime dependencies
  accelerate,
  detectron2,
  huggingface-hub,
  layoutparser,
  onnx,
  onnxruntime,
  opencv-python,
  paddleocr,
  python-multipart,
  rapidfuzz,
  transformers,
@@ -39,6 +37,11 @@ buildPythonPackage rec {

  build-system = [ setuptools ];

  pythonRelaxDeps = [
    # Wants >= 4.13.0.90 but the latest release is 4.13.0
    "opencv-python"
  ];

  dependencies = [
    accelerate
    huggingface-hub