Spaces:
Sleeping
Sleeping
Elijahbodden
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -4,10 +4,8 @@
|
|
4 |
|
5 |
import gradio as gr
|
6 |
import os
|
7 |
-
|
8 |
-
os.system(
|
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
|