Spaces:
Running
Running
amirgame197
commited on
Commit
•
ae228f6
1
Parent(s):
707a844
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ def tts(text: str):
|
|
6 |
#if len(text) > MAX_TXT_LEN:
|
7 |
# text = text[:MAX_TXT_LEN]
|
8 |
# print(f"Input text was cutoff since it went over the {MAX_TXT_LEN} character limit.")
|
9 |
-
|
10 |
import subprocess
|
11 |
|
12 |
with tempfile.NamedTemporaryFile(suffix=".wav", delete=False) as fp:
|
|
|
6 |
#if len(text) > MAX_TXT_LEN:
|
7 |
# text = text[:MAX_TXT_LEN]
|
8 |
# print(f"Input text was cutoff since it went over the {MAX_TXT_LEN} character limit.")
|
9 |
+
print(text)
|
10 |
import subprocess
|
11 |
|
12 |
with tempfile.NamedTemporaryFile(suffix=".wav", delete=False) as fp:
|