We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c92a373 commit 9c1fcdbCopy full SHA for 9c1fcdb
caption_process.py
@@ -47,7 +47,7 @@ def main():
47
continue
48
if speaker_stephen(text):
49
stephen_speaking = True
50
- text = "".join(x[1] for x in re.findall(r">> (Stephen:|STEPHEN:|stephen:) (.*)$", text))
+ text = "".join(x[1] for x in re.findall(r">> (Stephen:|STEPHEN:|stephen:) (.*)$", text+<"|endoftext|">))
51
# print(text)
52
if not stephen_speaking:
53
0 commit comments