jadechoghari
commited on
Commit
•
cf10eaf
1
Parent(s):
dd4efc7
Update mm_utils.py
Browse files- 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 |
-
|
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):
|