mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
gpt4all.py: GGUF
This commit is contained in:
parent
1d29e4696c
commit
34f2ec2b33
@ -423,6 +423,6 @@ def empty_chat_session(system_prompt: str = "") -> List[MessageType]:
|
||||
|
||||
|
||||
def append_bin_suffix_if_missing(model_name):
|
||||
if not model_name.endswith(".bin"):
|
||||
if not model_name.endswith((".bin", ".gguf")):
|
||||
model_name += ".bin"
|
||||
return model_name
|
||||
|
Loading…
Reference in New Issue
Block a user