Spaces:
Runtime error
Runtime error
File size: 665 Bytes
707ea0a a656d32 9f2a0ba bac3716 9f2a0ba 707ea0a bac3716 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
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)) |