Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -83,7 +83,7 @@ def predict(message, history):
|
|
83 |
if (switch_to.format(model=gpt4).lower() in human.lower()):
|
84 |
model = gpt4
|
85 |
if (switch_to.format(model=gpt4_turbo).lower() in message.lower()):
|
86 |
-
|
87 |
|
88 |
history_openai_format.append({"role": "user", "content": human })
|
89 |
history_openai_format.append({"role": "assistant", "content": assistant})
|
|
|
83 |
if (switch_to.format(model=gpt4).lower() in human.lower()):
|
84 |
model = gpt4
|
85 |
if (switch_to.format(model=gpt4_turbo).lower() in message.lower()):
|
86 |
+
model = gpt4_turbo
|
87 |
|
88 |
history_openai_format.append({"role": "user", "content": human })
|
89 |
history_openai_format.append({"role": "assistant", "content": assistant})
|