added a print when llm_mode is on gpt-4o
Browse files
app.py
CHANGED
@@ -5,7 +5,6 @@ from huggingface_hub import login
|
|
5 |
import os
|
6 |
from threading import Thread
|
7 |
from openai import OpenAI
|
8 |
-
# import asyncio
|
9 |
|
10 |
TOKEN = os.getenv('HF_AUTH_TOKEN')
|
11 |
login(token=TOKEN,
|
@@ -147,6 +146,7 @@ def bot_comms(input_text: str,
|
|
147 |
|
148 |
if input_text == "switch to gpt-4o":
|
149 |
llm_mode = input_text
|
|
|
150 |
yield "Understood! GPT-4o is now hearing your responses only πΎ"
|
151 |
|
152 |
if input_text == "switch to gpt-3.5-turbo":
|
|
|
5 |
import os
|
6 |
from threading import Thread
|
7 |
from openai import OpenAI
|
|
|
8 |
|
9 |
TOKEN = os.getenv('HF_AUTH_TOKEN')
|
10 |
login(token=TOKEN,
|
|
|
146 |
|
147 |
if input_text == "switch to gpt-4o":
|
148 |
llm_mode = input_text
|
149 |
+
print("llm mode switched to gpt-40")
|
150 |
yield "Understood! GPT-4o is now hearing your responses only πΎ"
|
151 |
|
152 |
if input_text == "switch to gpt-3.5-turbo":
|