Elijahbodden commited on
Commit
37a6f17
·
verified ·
1 Parent(s): c7f37c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -4,10 +4,8 @@
4
 
5
  import gradio as gr
6
  import os
7
- # OPENBLAS INSTALL STILL NOT WORKING
8
- os.system("git clone https://github.com/xianyi/OpenBLAS && cd OpenBLAS && make FC=gfortran")
9
- os.system("make clean | LLAMA_OPENBLAS=1 make")
10
- os.system('CMAKE_ARGS="-DLLAMA_BLAS=ON -DLLAMA_BLAS_VENDOR=OpenBLAS" pip install llama-cpp-python transformers torch')
11
 
12
  from llama_cpp import Llama
13
  from transformers import AutoTokenizer
 
4
 
5
  import gradio as gr
6
  import os
7
+
8
+ os.system('pip install llama-cpp-python transformers torch')
 
 
9
 
10
  from llama_cpp import Llama
11
  from transformers import AutoTokenizer