init ascend tts
This commit is contained in:
17
ascend_910-gpt-sovits/launch_gsv.sh
Executable file
17
ascend_910-gpt-sovits/launch_gsv.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
redis-server --daemonize yes
|
||||
|
||||
if [ -z "$MODEL_DIR" ]; then
|
||||
export MODEL_DIR="/models/GPT-SoVITS"
|
||||
fi
|
||||
|
||||
if [ -z "$NLTK_DATA" ]; then
|
||||
export NLTK_DATA="/models/GPT-SoVITS/nltk_data"
|
||||
fi
|
||||
|
||||
if [ -z "$bert_path" ]; then
|
||||
export bert_path="${MODEL_DIR}/chinese-roberta-wwm-ext-large"
|
||||
fi
|
||||
|
||||
cd GPT-SoVITS && python3 gsv_server.py
|
||||
Reference in New Issue
Block a user