Spaces:
Runtime error
Runtime error
Commit
·
42b425a
1
Parent(s):
2907a7d
Update parseinput.py
Browse files- parseinput.py +1 -1
parseinput.py
CHANGED
@@ -4,7 +4,7 @@ from xml.sax import saxutils
|
|
4 |
#import nltk
|
5 |
|
6 |
# Chunked generation originally from https://github.com/serp-ai/bark-with-voice-clone
|
7 |
-
def split_and_recombine_text(text, desired_length=
|
8 |
# return nltk.sent_tokenize(text)
|
9 |
|
10 |
# from https://github.com/neonbjb/tortoise-tts
|
|
|
4 |
#import nltk
|
5 |
|
6 |
# Chunked generation originally from https://github.com/serp-ai/bark-with-voice-clone
|
7 |
+
def split_and_recombine_text(text, desired_length=150, max_length=200):
|
8 |
# return nltk.sent_tokenize(text)
|
9 |
|
10 |
# from https://github.com/neonbjb/tortoise-tts
|