Haoling
commited on
Commit
·
91f2a47
1
Parent(s):
037e0be
長くしてみる
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ from mel_processing import spectrogram_torch
|
|
| 14 |
|
| 15 |
limitation = os.getenv("SYSTEM") == "spaces" # limit text and audio length in huggingface spaces
|
| 16 |
|
| 17 |
-
max_length =
|
| 18 |
|
| 19 |
def get_text(text, hps, is_phoneme):
|
| 20 |
text_norm = text_to_sequence(text, hps.symbols, [] if is_phoneme else hps.data.text_cleaners)
|
|
|
|
| 14 |
|
| 15 |
limitation = os.getenv("SYSTEM") == "spaces" # limit text and audio length in huggingface spaces
|
| 16 |
|
| 17 |
+
max_length = 1000
|
| 18 |
|
| 19 |
def get_text(text, hps, is_phoneme):
|
| 20 |
text_norm = text_to_sequence(text, hps.symbols, [] if is_phoneme else hps.data.text_cleaners)
|