ORI-Muchim commited on
Commit
a55ee0b
1 Parent(s): 20a3dd9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -13,6 +13,9 @@ from models import SynthesizerTrn
13
  from text import text_to_sequence, _clean_text
14
  from mel_processing import spectrogram_torch
15
 
 
 
 
16
  limitation = os.getenv("SYSTEM") == "spaces" # limit text and audio length in huggingface spaces
17
 
18
  device = 'cpu'
 
13
  from text import text_to_sequence, _clean_text
14
  from mel_processing import spectrogram_torch
15
 
16
+ from text.symbols import symbols
17
+ import langdetect
18
+
19
  limitation = os.getenv("SYSTEM") == "spaces" # limit text and audio length in huggingface spaces
20
 
21
  device = 'cpu'