ecarr-bend commited on
Commit
f2f5170
·
verified ·
1 Parent(s): c6e0f6f

Update app.py

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