Elijahbodden commited on
Commit
c7f37c2
·
verified ·
1 Parent(s): 394660a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,7 +5,7 @@
5
  import gradio as gr
6
  import os
7
  # OPENBLAS INSTALL STILL NOT WORKING
8
- os.system("apt update | search openblas | apt install libopenblas-dev | update-alternatives --config libblas.so.3")
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.1,
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"'