alex-mindspace commited on
Commit
d8908fd
·
1 Parent(s): f1de751

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -27,7 +27,7 @@ def predict(system_msg, inputs, top_p, temperature, chat_counter, chatbot=[], hi
27
 
28
  if chat_counter == 0 :
29
  payload = {
30
- "model": "gpt-4",
31
  "messages": initial_message ,
32
  "temperature" : 1.0,
33
  "top_p":1.0,
@@ -54,7 +54,7 @@ def predict(system_msg, inputs, top_p, temperature, chat_counter, chatbot=[], hi
54
  messages.append(temp)
55
  #messages
56
  payload = {
57
- "model": "gpt-4",
58
  "messages": messages, # Of the type of [{"role": "user", "content": f"{inputs}"}],
59
  "temperature" : temperature, #1.0,
60
  "top_p": top_p, #1.0,
 
27
 
28
  if chat_counter == 0 :
29
  payload = {
30
+ "model": "gpt-3.5-turbo",
31
  "messages": initial_message ,
32
  "temperature" : 1.0,
33
  "top_p":1.0,
 
54
  messages.append(temp)
55
  #messages
56
  payload = {
57
+ "model": "gpt-3.5-turbo",
58
  "messages": messages, # Of the type of [{"role": "user", "content": f"{inputs}"}],
59
  "temperature" : temperature, #1.0,
60
  "top_p": top_p, #1.0,