File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -116,14 +116,14 @@ def load_llama_from_model_settings(settings: ModelSettings) -> llama_cpp.Llama:
116
116
assert settings .clip_model_path is not None , "clip model not found"
117
117
if settings .hf_model_repo_id is not None :
118
118
chat_handler = (
119
- llama_cpp .llama_chat_format .MoondreamChatHanlder .from_pretrained (
119
+ llama_cpp .llama_chat_format .MoondreamChatHandler .from_pretrained (
120
120
repo_id = settings .hf_model_repo_id ,
121
121
filename = settings .clip_model_path ,
122
122
verbose = settings .verbose ,
123
123
)
124
124
)
125
125
else :
126
- chat_handler = llama_cpp .llama_chat_format .MoondreamChatHanlder (
126
+ chat_handler = llama_cpp .llama_chat_format .MoondreamChatHandler (
127
127
clip_model_path = settings .clip_model_path , verbose = settings .verbose
128
128
)
129
129
elif settings .chat_format == "nanollava" :
You can’t perform that action at this time.
0 commit comments