Blane187 commited on
Commit
21d0d32
1 Parent(s): 3dd92ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
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=False, hubert_path=None, rmvpe_path=None)
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