Spaces:
Runtime error
Runtime error
gender='male' | |
config='../../config/glow/'$gender'.json' | |
modeldir='../../checkpoints/glow/'$gender | |
logdir='../../logs/glow/'$gender | |
init=1 # 1 if start from scratch. 0 if start from last checkpoint | |
#################################################### | |
if [[ $init -eq 1 ]] | |
then | |
python ../../src/glow_tts/init.py -c $config -m $modeldir -l $logdir | |
fi | |
python ../../src/glow_tts/train.py -c $config -m $modeldir -l $logdir | |