Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ import sys
|
|
| 16 |
from oryx.conversation import conv_templates, SeparatorStyle
|
| 17 |
from oryx.model.builder import load_pretrained_model
|
| 18 |
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
|
| 20 |
from oryx.constants import IGNORE_INDEX, DEFAULT_IMAGE_TOKEN, IMAGE_TOKEN_INDEX
|
| 21 |
|
| 22 |
model_path = "THUdyh/Oryx-7B"
|
|
|
|
| 16 |
from oryx.conversation import conv_templates, SeparatorStyle
|
| 17 |
from oryx.model.builder import load_pretrained_model
|
| 18 |
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"
|