yeswondwerr
commited on
Update __main__.py
Browse files- __main__.py +1 -2
__main__.py
CHANGED
@@ -110,8 +110,7 @@ def answer_question(
|
|
110 |
image_path, tokenizer, model, vision_model, processor, projection_module
|
111 |
):
|
112 |
image = Image.open(image_path).convert("RGB")
|
113 |
-
|
114 |
-
tokenizer.bos_token_id = None
|
115 |
tokenizer.eos_token = "<|eot_id|>"
|
116 |
|
117 |
try:
|
|
|
110 |
image_path, tokenizer, model, vision_model, processor, projection_module
|
111 |
):
|
112 |
image = Image.open(image_path).convert("RGB")
|
113 |
+
|
|
|
114 |
tokenizer.eos_token = "<|eot_id|>"
|
115 |
|
116 |
try:
|