File size: 725 Bytes
ae2f86a c6e9abc 9e66f7d c0447ed 9e66f7d c0447ed 9e66f7d c0447ed |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
---
license: mit
---
## 运行
> 1. pip install -r requirements.txt
> 2. `python run_server.py`
## 前端
> 文件路径: frontend/index.html打开浏览器即可运行
## whispercpp安装
> git clone --recurse-submodules https://github.com/absadiki/pywhispercpp.git
> git checkout d43237bd75076615349004270a721e3ebe1deabb
> WHISPER_COREML=1 python setup.py install
## Llama-cpp-python
> git clone --recurse-submodules https://github.com/abetlen/llama-cpp-python.git
> cd llama-cpp-python && git checkout 0580cf273debf4a7f2efcdfd5ef092ff5cedf9b0 && cd vendor/llama.cpp && git checkout ecebbd292d741ac084cf248146b2cfb17002aa1d
> 安装命令: CMAKE_ARGS="-DGGML_METAL=on" pip install .
|