harveen
Add
bac3716
raw
history blame
665 Bytes
import os
os.system('wget -q https://storage.googleapis.com/vakyansh-open-models/tts/hindi/hi-IN/female_voice_0/glow.zip -P ttsv/checkpoints/glow/')
os.system('wget -q https://storage.googleapis.com/vakyansh-open-models/tts/hindi/hi-IN/female_voice_0/hifi.zip -P ttsv/checkpoints/glow/')
from ttsv.utils.inference.run_gradio import *
from argparse import Namespace
#os.system('python ttsv/utils/inference/run_gradio.py -a ttsv/checkpoints/glow/male -v ttsv/checkpoints/hifi/male -d cpu -L hi')
args = {
'acoustic':'ttsv/checkpoints/glow/male',
'vocoder':'ttsv/checkpoints/hifi/male',
'device':'cpu',
'lang':'hi'
}
build_gradio(Namespace(**args))