bugfix
This commit is contained in:
parent
ef18f8a114
commit
3dd1dca6dd
@ -4,10 +4,9 @@ from TTS.utils.synthesizer import Synthesizer
|
|||||||
import numpy as np
|
import numpy as np
|
||||||
from logmmse import logmmse
|
from logmmse import logmmse
|
||||||
from scipy.io.wavfile import write
|
from scipy.io.wavfile import write
|
||||||
|
|
||||||
from ahserver.serverenv import ServerEnv
|
from ahserver.serverenv import ServerEnv
|
||||||
|
|
||||||
class TTS:
|
class CoquiTTS:
|
||||||
def __init__(self, model_name):
|
def __init__(self, model_name):
|
||||||
manager = ModelManager()
|
manager = ModelManager()
|
||||||
# model_path, config_path, model_item = manager.download_model("tts_models/zh-CN/baker/tacotron2-DDC-GST")
|
# model_path, config_path, model_item = manager.download_model("tts_models/zh-CN/baker/tacotron2-DDC-GST")
|
||||||
|
2
setup.py
2
setup.py
@ -6,9 +6,11 @@ try:
|
|||||||
except ImportError:
|
except ImportError:
|
||||||
from distutils.core import setup
|
from distutils.core import setup
|
||||||
required = []
|
required = []
|
||||||
|
"""
|
||||||
with open('requirements.txt', 'r') as f:
|
with open('requirements.txt', 'r') as f:
|
||||||
ls = f.read()
|
ls = f.read()
|
||||||
required = ls.split('\n')
|
required = ls.split('\n')
|
||||||
|
"""
|
||||||
|
|
||||||
with open('coquitts/version.py', 'r') as f:
|
with open('coquitts/version.py', 'r') as f:
|
||||||
x = f.read()
|
x = f.read()
|
||||||
|
Loading…
Reference in New Issue
Block a user