Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,9 @@ from audio_separator.separator import Separator
|
|
14 |
import model_handler
|
15 |
import psutil
|
16 |
import cpuinfo
|
17 |
-
|
|
|
|
|
18 |
language_dict = tts_order_voice
|
19 |
|
20 |
async def text_to_speech_edge(text, language_code):
|
@@ -34,7 +36,7 @@ except ImportError:
|
|
34 |
spaces_status = False
|
35 |
|
36 |
separator = Separator()
|
37 |
-
converter = BaseLoader(only_cpu=
|
38 |
|
39 |
global pth_file
|
40 |
global index_file
|
|
|
14 |
import model_handler
|
15 |
import psutil
|
16 |
import cpuinfo
|
17 |
+
import re
|
18 |
+
import numpy as np
|
19 |
+
import wave
|
20 |
language_dict = tts_order_voice
|
21 |
|
22 |
async def text_to_speech_edge(text, language_code):
|
|
|
36 |
spaces_status = False
|
37 |
|
38 |
separator = Separator()
|
39 |
+
converter = BaseLoader(only_cpu=True, hubert_path=None, rmvpe_path=None)
|
40 |
|
41 |
global pth_file
|
42 |
global index_file
|