Promotingai commited on
Commit
409bd35
·
verified ·
1 Parent(s): a924242

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ def predict(message, history):
11
  history_openai_format.append({"role": "assistant", "content":assistant})
12
  history_openai_format.append({"role": "user", "content": message})
13
 
14
- response = client.chat.completions.create(model='gpt-3.5-turbo',
15
  messages= history_openai_format,
16
  temperature=1.0,
17
  stream=True)
 
11
  history_openai_format.append({"role": "assistant", "content":assistant})
12
  history_openai_format.append({"role": "user", "content": message})
13
 
14
+ response = client.chat.completions.create(model='gpt-4-turbo',
15
  messages= history_openai_format,
16
  temperature=1.0,
17
  stream=True)