Spaces:
Sleeping
Sleeping
Elijahbodden
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
import gradio as gr
|
6 |
import os
|
7 |
-
os.system("apt install libopenblas-dev")
|
8 |
os.system("make clean && LLAMA_OPENBLAS=1 make")
|
9 |
os.system('CMAKE_ARGS="-DLLAMA_BLAS=ON -DLLAMA_BLAS_VENDOR=OpenBLAS" pip install llama-cpp-python transformers')
|
10 |
|
|
|
4 |
|
5 |
import gradio as gr
|
6 |
import os
|
7 |
+
os.system("apt update && search openblas && apt install libopenblas-dev && update-alternatives --config libblas.so.3")
|
8 |
os.system("make clean && LLAMA_OPENBLAS=1 make")
|
9 |
os.system('CMAKE_ARGS="-DLLAMA_BLAS=ON -DLLAMA_BLAS_VENDOR=OpenBLAS" pip install llama-cpp-python transformers')
|
10 |
|