diff --git a/README.md b/README.md index aa185c8..4e609b4 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,41 @@ inquery a task status, if 'SUCCEEDED', the result of transcribe will carry out sumbit a asr task and wait it success or failed +## Deperndents +fastwhisper will installs all its dependents when install + +## Download and Install +use follow command to download fastwhisper +``` +git clone https://git.opencomputing.cn/yumoqing/fastwhisper.git +``` +go to the folder 'fastwhisper' +``` +cd fastwhisper +``` +change some config items +``` +vi conf/config.json +``` +modify the following items +``` + "model_path": "/data/ymq/models/deepdml/faster-whisper-large-v3-turbo-ct2", + "redis_url": "redis://127.0.0.1:6379", + "worker_cnt": 1, + "port":9925, +``` + +finally +``` +bash ./build.sh +``` +./build.sh will +1 make virtual environment in "py3" folder +2 install all packages it needs +3 use "APT" install redis-server, if not on ubuntu, you need to modify build.sh +4 create a system service named "fastwhisper" +5 start fastwhisper servcie + ## APIs ### transcribe