ecarr-bend commited on
Commit
0fdc900
·
verified ·
1 Parent(s): fce6d87

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -89,7 +89,7 @@ def predict(message, model_type):
89
  if (model_type==1):
90
  llm = ChatOpenAI(temperature = 0.1, model_name="gpt-3.5-turbo-16k", streaming=True, callbacks=[QueueCallback(q)])
91
  else:
92
- llm = ChatOpenAI(temperature = 0.1, model_name="gpt-4-1106-preview", streaming=True, callbacks=[QueueCallback(q)])
93
 
94
  # This is needed for both the memory and the prompt
95
  memory_key = "history"
 
89
  if (model_type==1):
90
  llm = ChatOpenAI(temperature = 0.1, model_name="gpt-3.5-turbo-16k", streaming=True, callbacks=[QueueCallback(q)])
91
  else:
92
+ llm = ChatOpenAI(temperature = 0.1, model_name="gpt-4-turbo-preview", streaming=True, callbacks=[QueueCallback(q)])
93
 
94
  # This is needed for both the memory and the prompt
95
  memory_key = "history"