ShiwenNi commited on
Commit
5fff4ae
1 Parent(s): 70e52f7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -18,7 +18,7 @@ class Response:
18
  self.api = api
19
  self.comment = comment
20
  self.language = language
21
- self.max_token_num = 4096
22
  self.encoding = tiktoken.get_encoding("gpt2")
23
 
24
 
@@ -64,7 +64,7 @@ class Response:
64
  ]
65
  try:
66
  response = openai.ChatCompletion.create(
67
- model="gpt-3.5-turbo",
68
  messages=messages,
69
  )
70
  result = ''
 
18
  self.api = api
19
  self.comment = comment
20
  self.language = language
21
+ self.max_token_num = 14096
22
  self.encoding = tiktoken.get_encoding("gpt2")
23
 
24
 
 
64
  ]
65
  try:
66
  response = openai.ChatCompletion.create(
67
+ model="gpt-3.5-turbo-16k",
68
  messages=messages,
69
  )
70
  result = ''