From c049e7524f4f7b6f8a6946a1e59bedc099f28d24 Mon Sep 17 00:00:00 2001 From: Vik Paruchuri Date: Wed, 19 Nov 2025 12:18:57 -0500 Subject: [PATCH] Shift import --- chandra/model/hf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chandra/model/hf.py b/chandra/model/hf.py index 9617cca..6be4e47 100644 --- a/chandra/model/hf.py +++ b/chandra/model/hf.py @@ -1,7 +1,5 @@ from typing import List -from qwen_vl_utils import process_vision_info - from chandra.model.schema import BatchInputItem, GenerationResult from chandra.model.util import scale_to_fit from chandra.prompts import PROMPT_MAPPING @@ -15,6 +13,8 @@ def generate_hf( bbox_scale: int = settings.BBOX_SCALE, **kwargs, ) -> List[GenerationResult]: + from qwen_vl_utils import process_vision_info + if max_output_tokens is None: max_output_tokens = settings.MAX_OUTPUT_TOKENS