We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 759908c commit 612ada4Copy full SHA for 612ada4
2 files changed
commonforms/inference.py
@@ -72,7 +72,7 @@ def extract_widgets(
72
) -> dict[int, list[Widget]]:
73
image_size = 1024
74
results = []
75
- for b in batch([self.resize(p.image, image_size) for p in pages], n=batch_size):
+ for b in batch([p.image for p in pages], n=batch_size):
76
predictions = self.model.predict(b, threshold=confidence)
77
if len(pages) == 1 or batch_size == 1:
78
predictions = [predictions]
pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
5
[project]
6
name = "commonforms"
7
-version = "0.2.0"
+version = "0.2.1"
8
description = "Automatically convert a PDF into a fillable form"
9
readme = "README.md"
10
requires-python = ">=3.10"
0 commit comments