kirchik47 commited on
Commit
57916a7
·
1 Parent(s): 31e18a7

Removed copy method from UploadedImage object

Browse files
Files changed (1) hide show
  1. custom_got/modeling_GOT.py +1 -1
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.copy()
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