gorkemgoknar
commited on
Commit
·
71ec868
1
Parent(s):
9bf35ac
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,8 @@
|
|
1 |
from __future__ import annotations
|
2 |
import os
|
|
|
|
|
|
|
3 |
# we need to compile a CUBLAS version
|
4 |
# Or get it from https://jllllll.github.io/llama-cpp-python-cuBLAS-wheels/
|
5 |
os.system('CMAKE_ARGS="-DLLAMA_CUBLAS=on" pip install llama-cpp-python==0.2.11')
|
|
|
1 |
from __future__ import annotations
|
2 |
import os
|
3 |
+
#download for mecab
|
4 |
+
os.system('python -m unidic download')
|
5 |
+
|
6 |
# we need to compile a CUBLAS version
|
7 |
# Or get it from https://jllllll.github.io/llama-cpp-python-cuBLAS-wheels/
|
8 |
os.system('CMAKE_ARGS="-DLLAMA_CUBLAS=on" pip install llama-cpp-python==0.2.11')
|