Update main.py
Browse files
main.py
CHANGED
@@ -11,7 +11,7 @@ from huggingface_hub import hf_hub_download
|
|
11 |
|
12 |
model_path = "models"
|
13 |
model_name = "mistral-7b-instruct-v0.1.Q4_K_M.gguf"
|
14 |
-
|
15 |
|
16 |
print("Start the model init process")
|
17 |
model = model = GPT4All(model_name, model_path, allow_download = False, device="cpu")
|
|
|
11 |
|
12 |
model_path = "models"
|
13 |
model_name = "mistral-7b-instruct-v0.1.Q4_K_M.gguf"
|
14 |
+
hf_hub_download(repo_id="TheBloke/Mistral-7B-Instruct-v0.1-GGUF", filename=model_name, local_dir=model_path, local_dir_use_symlinks=False)
|
15 |
|
16 |
print("Start the model init process")
|
17 |
model = model = GPT4All(model_name, model_path, allow_download = False, device="cpu")
|