Spaces:
Runtime error
Runtime error
xJuuzouYTx
commited on
Commit
•
265fb41
1
Parent(s):
7defa2b
[FIX] remove tts lenght limit
Browse files- tts/conversion.py +0 -4
tts/conversion.py
CHANGED
@@ -39,10 +39,6 @@ def tts_infer(tts_text, model_url, tts_method, tts_model, tts_api_key, language)
|
|
39 |
converted_tts_filename = os.path.join(output_folder, f"tts_out_{uuid.uuid4()}.wav")
|
40 |
success = False
|
41 |
|
42 |
-
if len(tts_text) > 60:
|
43 |
-
tts_text = tts_text[:60]
|
44 |
-
print("DEMO; limit to 60 characters")
|
45 |
-
|
46 |
if tts_method == "Edge-tts":
|
47 |
language = tts_model[:2]
|
48 |
try:
|
|
|
39 |
converted_tts_filename = os.path.join(output_folder, f"tts_out_{uuid.uuid4()}.wav")
|
40 |
success = False
|
41 |
|
|
|
|
|
|
|
|
|
42 |
if tts_method == "Edge-tts":
|
43 |
language = tts_model[:2]
|
44 |
try:
|