Skip to content

Commit 64008aa

Browse files
committed
Fix typo
1 parent f70326f commit 64008aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llama_cpp/server/model.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,14 +116,14 @@ def load_llama_from_model_settings(settings: ModelSettings) -> llama_cpp.Llama:
116116
assert settings.clip_model_path is not None, "clip model not found"
117117
if settings.hf_model_repo_id is not None:
118118
chat_handler = (
119-
llama_cpp.llama_chat_format.MoondreamChatHanlder.from_pretrained(
119+
llama_cpp.llama_chat_format.MoondreamChatHandler.from_pretrained(
120120
repo_id=settings.hf_model_repo_id,
121121
filename=settings.clip_model_path,
122122
verbose=settings.verbose,
123123
)
124124
)
125125
else:
126-
chat_handler = llama_cpp.llama_chat_format.MoondreamChatHanlder(
126+
chat_handler = llama_cpp.llama_chat_format.MoondreamChatHandler(
127127
clip_model_path=settings.clip_model_path, verbose=settings.verbose
128128
)
129129
elif settings.chat_format == "nanollava":

0 commit comments

Comments
 (0)