tonicstl commited on
Commit
6692d43
·
verified ·
1 Parent(s): a321eb2

Update app.py

Browse files

fixed an error (max_token => max_tokens)

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ def respond(message, history):
14
 
15
  messages.append({"role": "user", "content": message})
16
 
17
- response = client.chat_completion(messages, max_token = 100)
18
 
19
  return response['choices'][0]['message']['content'].strip()
20
 
 
14
 
15
  messages.append({"role": "user", "content": message})
16
 
17
+ response = client.chat_completion(messages, max_tokens = 100)
18
 
19
  return response['choices'][0]['message']['content'].strip()
20