Elijahbodden commited on
Commit
0ba5c6f
·
verified ·
1 Parent(s): c5c5495

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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