Translator / README.md
Xin Zhang
[fix]: 1
c0447ed
|
raw
history blame
725 Bytes
metadata
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 .