seiching commited on
Commit
7eb7423
1 Parent(s): a4b9592

update token from 500-3500

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ def call_openai_api(openaiobj,transcription):
41
  return response.choices[0].message.content
42
 
43
 
44
- def split_into_chunks(text, tokens=500):
45
  encoding = tiktoken.encoding_for_model('gpt-3.5-turbo')
46
  words = encoding.encode(text)
47
  chunks = []
 
41
  return response.choices[0].message.content
42
 
43
 
44
+ def split_into_chunks(text, tokens=3500):
45
  encoding = tiktoken.encoding_for_model('gpt-3.5-turbo')
46
  words = encoding.encode(text)
47
  chunks = []