python binding: print debug message to stderr

gguf_latest_llama
Cebtenzzre 10 months ago committed by Adam Treat
parent 5d346e13d7
commit 40c78d2f78

@ -2,6 +2,7 @@
Python only API for running all GPT4All models.
"""
import os
import sys
import time
from contextlib import contextmanager
from pathlib import Path
@ -172,7 +173,7 @@ class GPT4All:
config.pop("url", None)
config["path"] = model_dest
if verbose:
print("Found model file at ", model_dest)
print("Found model file at", model_dest, file=sys.stderr)
# If model file does not exist, download
elif allow_download:

Loading…
Cancel
Save