Fixed outlier on character paragraph.
On new chat, character paragraphs, found an outlier possibility where character/narrator wouldn't swap, so performed replace('"<. *', '"< *"').replace('< *"', '< *') which should capture it.
This commit is contained in:
1 parent
fedea7cc09
commit
8c8e65fb1d
1 file changed
+3
-1
@@ -508,8 +508,10 @@ def output_modifier(string, state):
|
||||
.replace('"', '"<')
|
||||
# Capture new conversations which wont have things like "e in them
|
||||
.replace('"', '"<')
|
||||
|
||||
)
|
||||
#capturing another outlier in inital character paragraph
|
||||
processed_string = processed_string.replace('"<. *', '"< *"')
|
||||
processed_string = processed_string.replace('< *"', '< *')
|
||||
# Set up a tracking of the individual wav files.
|
||||
audio_files_all_paragraphs = []
|
||||
# Split the line using " and ".* " (so end of sentences, leaving special characters added to the start of all OTHER sentences, bar possibly the first one if its starting with a *
|
||||
|
||||
Reference in new issue
Block a user