Spaces:
Sleeping
Sleeping
Eason Lu
commited on
Commit
·
fd190b6
1
Parent(s):
b69d0a2
small fix
Browse filesFormer-commit-id: 5113801a4ef053f2b784f799abbc0717e70c2d9c
- pipeline.py +1 -1
pipeline.py
CHANGED
@@ -159,7 +159,7 @@ script_input_withForceTerm = re.sub('\n ', '\n', "".join(ready_words))
|
|
159 |
|
160 |
# Split the video script by sentences and create chunks within the token limit
|
161 |
n_threshold = 1000 # Token limit for the GPT-3 model
|
162 |
-
script_split =
|
163 |
|
164 |
script_arr = []
|
165 |
script = ""
|
|
|
159 |
|
160 |
# Split the video script by sentences and create chunks within the token limit
|
161 |
n_threshold = 1000 # Token limit for the GPT-3 model
|
162 |
+
script_split = script_input_withForceTerm.split('\n')
|
163 |
|
164 |
script_arr = []
|
165 |
script = ""
|