Spaces:
Sleeping
Sleeping
Elijahbodden
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
import gradio as gr
|
6 |
import os
|
7 |
# OPENBLAS INSTALL STILL NOT WORKING
|
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 |
|
@@ -143,7 +143,7 @@ demo = gr.ChatInterface(
|
|
143 |
gr.Slider(
|
144 |
minimum=0.0,
|
145 |
maximum=1.0,
|
146 |
-
value=0.
|
147 |
step=0.01,
|
148 |
label="Presence penalty",
|
149 |
info='"Use lots of diverse words"'
|
|
|
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 |
|
|
|
143 |
gr.Slider(
|
144 |
minimum=0.0,
|
145 |
maximum=1.0,
|
146 |
+
value=0.0,
|
147 |
step=0.01,
|
148 |
label="Presence penalty",
|
149 |
info='"Use lots of diverse words"'
|