bugfix
This commit is contained in:
parent
f3681c8c69
commit
b77f0c5ad0
35
README.md
35
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user