Update lib/tts_infer.py
Browse files- lib/tts_infer.py +9 -0
lib/tts_infer.py
CHANGED
@@ -5,6 +5,15 @@ import torch
|
|
5 |
from multiprocessing import cpu_count
|
6 |
from lib.modules import VC
|
7 |
from lib.split_audio import split_silence_nonsilent, adjust_audio_lengths, combine_silence_nonsilent
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
|
9 |
class Configs:
|
10 |
def __init__(self, device, is_half):
|
|
|
5 |
from multiprocessing import cpu_count
|
6 |
from lib.modules import VC
|
7 |
from lib.split_audio import split_silence_nonsilent, adjust_audio_lengths, combine_silence_nonsilent
|
8 |
+
import edge_tts
|
9 |
+
import tempfile
|
10 |
+
import anyio
|
11 |
+
|
12 |
+
|
13 |
+
|
14 |
+
|
15 |
+
|
16 |
+
|
17 |
|
18 |
class Configs:
|
19 |
def __init__(self, device, is_half):
|