pazukdev commited on
Commit
3e28524
·
verified ·
1 Parent(s): 6450223

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -80,7 +80,7 @@ def predict(message, history):
80
  for human, assistant in history:
81
  if (switch_to.format(model=gpt3_turbo).lower() in human.lower()):
82
  model = gpt3_turbo
83
- if (switch_to.format(model=gpt4_turbo).lower() in message.lower()):
84
  model = gpt4_turbo
85
  if (switch_to.format(model=gpt4).lower() in human.lower()):
86
  model = gpt4
 
80
  for human, assistant in history:
81
  if (switch_to.format(model=gpt3_turbo).lower() in human.lower()):
82
  model = gpt3_turbo
83
+ if (switch_to.format(model=gpt4_turbo).lower() in human.lower()):
84
  model = gpt4_turbo
85
  if (switch_to.format(model=gpt4).lower() in human.lower()):
86
  model = gpt4