Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ from oryx.utils import disable_torch_init
|
|
19 |
from oryx.mm_utils import tokenizer_image_token, get_model_name_from_path, KeywordsStoppingCriteria, process_anyres_video_genli,process_anyres_highres_image_genli
|
20 |
from oryx.constants import IGNORE_INDEX, DEFAULT_IMAGE_TOKEN, IMAGE_TOKEN_INDEX
|
21 |
|
22 |
-
model_path = "THUdyh/Oryx-7B"
|
23 |
model_name = get_model_name_from_path(model_path)
|
24 |
overwrite_config = {}
|
25 |
overwrite_config["mm_resampler_type"] = "dynamic_compressor"
|
|
|
19 |
from oryx.mm_utils import tokenizer_image_token, get_model_name_from_path, KeywordsStoppingCriteria, process_anyres_video_genli,process_anyres_highres_image_genli
|
20 |
from oryx.constants import IGNORE_INDEX, DEFAULT_IMAGE_TOKEN, IMAGE_TOKEN_INDEX
|
21 |
|
22 |
+
model_path = "THUdyh/Oryx-1.5-7B"
|
23 |
model_name = get_model_name_from_path(model_path)
|
24 |
overwrite_config = {}
|
25 |
overwrite_config["mm_resampler_type"] = "dynamic_compressor"
|