Log where the model was found

This commit is contained in:
Konstantin Gukov 2023-05-25 17:28:57 +02:00 committed by Richard Guo
parent f96300534b
commit c1f3dd310c

View File

@ -90,7 +90,7 @@ class GPT4All():
if os.path.exists(model_path): if os.path.exists(model_path):
model_dest = os.path.join(model_path, model_filename).replace("\\", "\\\\") model_dest = os.path.join(model_path, model_filename).replace("\\", "\\\\")
if os.path.exists(model_dest): if os.path.exists(model_dest):
print("Found model file.") print("Found model file at ", model_dest)
return model_dest return model_dest
# If model file does not exist, download # If model file does not exist, download