jadechoghari commited on
Commit
2ecf8d8
1 Parent(s): c9bbdac

Update mm_utils.py

Browse files
Files changed (1) hide show
  1. mm_utils.py +1 -1
mm_utils.py CHANGED
@@ -7,7 +7,7 @@ import ast
7
  from typing import Optional, Callable
8
 
9
  from transformers import StoppingCriteria
10
- from .constants import IMAGE_TOKEN_INDEX
11
 
12
 
13
  def select_best_resolution(original_size, possible_resolutions):
 
7
  from typing import Optional, Callable
8
 
9
  from transformers import StoppingCriteria
10
+ IMAGE_TOKEN_INDEX = -200
11
 
12
 
13
  def select_best_resolution(original_size, possible_resolutions):