Update modeling_GOT.py
Browse files- modeling_GOT.py +1 -1
modeling_GOT.py
CHANGED
@@ -716,7 +716,7 @@ class GOTQwenForCausalLM(Qwen2ForCausalLM):
|
|
716 |
return processed_images
|
717 |
|
718 |
|
719 |
-
def
|
720 |
# Model
|
721 |
self.disable_torch_init()
|
722 |
multi_page=False
|
|
|
716 |
return processed_images
|
717 |
|
718 |
|
719 |
+
def chat_crop(self, tokenizer, image_file, render=False, save_render_file=None, print_prompt=False):
|
720 |
# Model
|
721 |
self.disable_torch_init()
|
722 |
multi_page=False
|