diff --git a/py/simple_chat.py b/py/simple_chat.py deleted file mode 100644 index cd5e9c9..0000000 --- a/py/simple_chat.py +++ /dev/null @@ -1,24 +0,0 @@ -from api import API - -class CLIChat: - @staticmethod - def chat(): - chat1 = API() - - while True: - print("") - print("Which AI Model do you want to use? Write as a Number (1-5).") - model_input = input() - model = int(model_input) - if model <= 0 or model > 5: - print("Invalid model.") - continue - while True: - print("") - print("Ask a question") - input_text = input() - if input_text == "change": - break - output_text = chat1.send_message(input_text, model) - print(output_text) - diff --git a/py/web_flask.py b/py/web_flask.py index 8506f84..ee37b12 100644 --- a/py/web_flask.py +++ b/py/web_flask.py @@ -25,7 +25,7 @@ def index(): elif option == "chat": messages.append(f"User: {user_message}") - ai_response = "AI: " + api.send_message(user_message, 1) + ai_response = "AI: " + api.send_message(user_message, 3) messages.append(ai_response) return render_template('index.html', messages=messages)