Update app.py
Browse files
app.py
CHANGED
|
@@ -5,6 +5,7 @@ import os
|
|
| 5 |
API_TKN = os.environ['HF_API_KEY']
|
| 6 |
|
| 7 |
mistral_models_path = 'TanyaVM/7B-Instruct-v0.3'
|
|
|
|
| 8 |
|
| 9 |
-
cache_dir = "C:\Users\PC\mistral_models\7B-Instruct-v0.3\.cache\huggingface"
|
| 10 |
snapshot_download(repo_id="TanyaVM/mistral_instruct_gen", token = API_TKN,allow_patterns=["params.json", "consolidated.safetensors", "tokenizer.model.v3"],cache_dir=cache_dir)
|
|
|
|
| 5 |
API_TKN = os.environ['HF_API_KEY']
|
| 6 |
|
| 7 |
mistral_models_path = 'TanyaVM/7B-Instruct-v0.3'
|
| 8 |
+
cache_dir = "C:/Users/PC/mistral_models/7B-Instruct-v0.3/.cache/huggingface"
|
| 9 |
|
| 10 |
+
#cache_dir = "C:\Users\PC\mistral_models\7B-Instruct-v0.3\.cache\huggingface"
|
| 11 |
snapshot_download(repo_id="TanyaVM/mistral_instruct_gen", token = API_TKN,allow_patterns=["params.json", "consolidated.safetensors", "tokenizer.model.v3"],cache_dir=cache_dir)
|