Spaces:
Runtime error
Runtime error
Update app.py (#3)
Browse files- Update app.py (aa5a2fad2522042587469a5372bbd94e77ddb52e)
app.py
CHANGED
@@ -1,8 +1,9 @@
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
from llama_cpp import Llama
|
3 |
|
4 |
-
import os
|
5 |
-
os.system('CMAKE_ARGS="-DLLAMA_OPENBLAS=on" FORCE_CMAKE=1 pip install llama-cpp-python')
|
6 |
|
7 |
llm = Llama(model_path="eachadea_ggml-vic7b-q4_0.bin", n_ctx=2048, n_batch=126)
|
8 |
|
|
|
1 |
+
import os
|
2 |
+
os.system('CMAKE_ARGS="-DLLAMA_OPENBLAS=on" FORCE_CMAKE=1 pip install llama-cpp-python')
|
3 |
+
|
4 |
import gradio as gr
|
5 |
from llama_cpp import Llama
|
6 |
|
|
|
|
|
7 |
|
8 |
llm = Llama(model_path="eachadea_ggml-vic7b-q4_0.bin", n_ctx=2048, n_batch=126)
|
9 |
|