Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,9 @@
|
|
| 1 |
from huggingface_hub import snapshot_download
|
| 2 |
from pathlib import Path
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
| 4 |
mistral_models_path = Path.home().joinpath('mistral_models', '7B-Instruct-v0.3')
|
| 5 |
mistral_models_path.mkdir(parents=True, exist_ok=True)
|
| 6 |
|
|
|
|
| 1 |
from huggingface_hub import snapshot_download
|
| 2 |
from pathlib import Path
|
| 3 |
+
import os
|
| 4 |
+
|
| 5 |
+
export HUGGINGFACE_HUB_TOKEN=os.environ['API_TKN']
|
| 6 |
+
|
| 7 |
mistral_models_path = Path.home().joinpath('mistral_models', '7B-Instruct-v0.3')
|
| 8 |
mistral_models_path.mkdir(parents=True, exist_ok=True)
|
| 9 |
|