Update app.py
Browse files
app.py
CHANGED
|
@@ -25,9 +25,10 @@ from airllm import AirLLMLlama2
|
|
| 25 |
|
| 26 |
MAX_LENGTH = 128
|
| 27 |
from huggingface_hub import hf_hub_download
|
|
|
|
| 28 |
|
| 29 |
|
| 30 |
-
|
| 31 |
repo_id="CohereForAI/c4ai-command-r-plus-4bit",
|
| 32 |
# filename="Meta-Llama-3-70B-Instruct-Q3_K_M.gguf",
|
| 33 |
local_dir = "./models",
|
|
|
|
| 25 |
|
| 26 |
MAX_LENGTH = 128
|
| 27 |
from huggingface_hub import hf_hub_download
|
| 28 |
+
from huggingface_hub import snapshot_download
|
| 29 |
|
| 30 |
|
| 31 |
+
snapshot_download(
|
| 32 |
repo_id="CohereForAI/c4ai-command-r-plus-4bit",
|
| 33 |
# filename="Meta-Llama-3-70B-Instruct-Q3_K_M.gguf",
|
| 34 |
local_dir = "./models",
|