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