Spaces:
Running
Running
ORI-Muchim
commited on
Update app.py
Browse files
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'
|