Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ from llama_cpp_agent import LlamaCppAgent
|
|
| 6 |
from llama_cpp_agent import MessagesFormatterType
|
| 7 |
from llama_cpp_agent.providers import LlamaCppPythonProvider
|
| 8 |
|
| 9 |
-
subprocess.run('pip install llama-cpp-python --no-cache-dir --force-reinstall --upgrade', env={'CMAKE_ARGS': "-DLLAMA_CUBLAS=ON", 'FORCE_CMAKE': '1'}, shell=True)
|
| 10 |
|
| 11 |
hf_hub_download(repo_id="TheBloke/Mistral-7B-Instruct-v0.2-GGUF", filename="mistral-7b-instruct-v0.2.Q6_K.gguf")
|
| 12 |
|
|
|
|
| 6 |
from llama_cpp_agent import MessagesFormatterType
|
| 7 |
from llama_cpp_agent.providers import LlamaCppPythonProvider
|
| 8 |
|
| 9 |
+
subprocess.run('pip install llama-cpp-python --no-build-isolation --no-cache-dir --force-reinstall --upgrade', env={'CMAKE_ARGS': "-DLLAMA_CUBLAS=ON", 'FORCE_CMAKE': '1'}, shell=True)
|
| 10 |
|
| 11 |
hf_hub_download(repo_id="TheBloke/Mistral-7B-Instruct-v0.2-GGUF", filename="mistral-7b-instruct-v0.2.Q6_K.gguf")
|
| 12 |
|