Will have to load all models to enable multiple synthesis at the same time

This commit is contained in:
Shivam Mehta
2023-09-20 10:40:01 +00:00
parent 267bf96651
commit db95158043

View File

@@ -275,13 +275,6 @@ def main():
1.0, 1.0,
0, 0,
], ],
[
"Hello everyone! I am speaker 13 and I am here to tell you that Matcha-TTS is amazing!",
50,
0.677,
1.0,
13,
],
[ [
"Hello everyone! I am speaker 16 and I am here to tell you that Matcha-TTS is amazing!", "Hello everyone! I am speaker 16 and I am here to tell you that Matcha-TTS is amazing!",
10, 10,
@@ -289,6 +282,13 @@ def main():
1.0, 1.0,
16, 16,
], ],
[
"Hello everyone! I am speaker 44 and I am here to tell you that Matcha-TTS is amazing!",
50,
0.677,
1.0,
44,
],
[ [
"Hello everyone! I am speaker 45 and I am here to tell you that Matcha-TTS is amazing!", "Hello everyone! I am speaker 45 and I am here to tell you that Matcha-TTS is amazing!",
50, 50,
@@ -331,7 +331,7 @@ def main():
outputs=[audio, mel_spectrogram], outputs=[audio, mel_spectrogram],
) )
demo.queue().launch(debug=True) demo.queue().launch(share=True)
if __name__ == "__main__": if __name__ == "__main__":