Eason Lu commited on
Commit
94b92ed
1 Parent(s): 0d268b7

add chunk size

Browse files

Former-commit-id: 1b0a2521f8dddcd4a4e4526c7b0647e7ad9357b2

Files changed (1) hide show
  1. pipeline.py +1 -1
pipeline.py CHANGED
@@ -157,7 +157,7 @@ if not args.only_srt:
157
 
158
 
159
  # Split the video script by sentences and create chunks within the token limit
160
- def script_split(script_in, chunk_size = 500):
161
  script_split = script_in.split('\n\n')
162
  script_arr = []
163
  range_arr = []
 
157
 
158
 
159
  # Split the video script by sentences and create chunks within the token limit
160
+ def script_split(script_in, chunk_size = 1000):
161
  script_split = script_in.split('\n\n')
162
  script_arr = []
163
  range_arr = []