mirror of
https://github.com/shivammehta25/Matcha-TTS.git
synced 2026-02-05 18:29:19 +08:00
Will have to load all models to enable multiple synthesis at the same time
This commit is contained in:
@@ -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__":
|
||||||
|
|||||||
Reference in New Issue
Block a user