Removed copy method from UploadedImage object
Browse files
custom_got/modeling_GOT.py
CHANGED
|
@@ -496,7 +496,7 @@ class GOTQwenForCausalLM(Qwen2ForCausalLM):
|
|
| 496 |
image_token_len = 256
|
| 497 |
|
| 498 |
if gradio_input:
|
| 499 |
-
image = image_file
|
| 500 |
else:
|
| 501 |
image = self.load_image(image_file)
|
| 502 |
|
|
|
|
| 496 |
image_token_len = 256
|
| 497 |
|
| 498 |
if gradio_input:
|
| 499 |
+
image = image_file
|
| 500 |
else:
|
| 501 |
image = self.load_image(image_file)
|
| 502 |
|