Commit ·
34a3f20
1
Parent(s): 3e5cc1b
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,6 +7,13 @@ import os
|
|
| 7 |
import accelerate
|
| 8 |
import spaces
|
| 9 |
import subprocess
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
subprocess.run('pip install llama-cpp-python==0.2.75 --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cu124', shell=True)
|
| 12 |
subprocess.run('pip install llama-cpp-agent==0.2.10', shell=True)
|
|
|
|
| 7 |
import accelerate
|
| 8 |
import spaces
|
| 9 |
import subprocess
|
| 10 |
+
from huggingface_hub import hf_hub_download
|
| 11 |
+
|
| 12 |
+
hf_hub_download(
|
| 13 |
+
repo_id="bartowski/Meta-Llama-3-70B-Instruct-GGUF",
|
| 14 |
+
filename="Meta-Llama-3-70B-Instruct-IQ3_XXS.gguf",
|
| 15 |
+
local_dir = "./models"
|
| 16 |
+
)
|
| 17 |
|
| 18 |
subprocess.run('pip install llama-cpp-python==0.2.75 --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cu124', shell=True)
|
| 19 |
subprocess.run('pip install llama-cpp-agent==0.2.10', shell=True)
|