fix issue with pop

This commit is contained in:
Vik Paruchuri
2025-11-12 17:33:50 -05:00
parent 34f825351c
commit 1bab4bf73a

View File

@@ -27,7 +27,7 @@ class InferenceManager:
output_kwargs["include_headers_footers"] = kwargs.pop(
"include_headers_footers"
)
bbox_scale = kwargs.get("bbox_scale", settings.BBOX_SCALE)
bbox_scale = kwargs.pop("bbox_scale", settings.BBOX_SCALE)
if self.method == "vllm":
results = generate_vllm(