mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
More precise condition
This commit is contained in:
parent
adc599b0a6
commit
59d7db9aad
@ -73,7 +73,7 @@ class GPT4All():
|
||||
"""
|
||||
|
||||
model_filename = model_name
|
||||
if ".bin" not in model_filename:
|
||||
if not model_filename.endswith(".bin"):
|
||||
model_filename += ".bin"
|
||||
|
||||
# Validate download directory
|
||||
|
Loading…
Reference in New Issue
Block a user