From 8f1f3db4c62f978634c0f0d7ee0818476152b090 Mon Sep 17 00:00:00 2001 From: ThatLinuxFan <9904667+NodeMixaholic@users.noreply.github.com> Date: Tue, 2 Jan 2024 18:37:29 -0600 Subject: [PATCH] fix updater --- main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index eb4a2eb..781495f 100644 --- a/main.py +++ b/main.py @@ -23,8 +23,8 @@ llm = Ollama( completeContext = "" # Define URLs for requirements.txt and main.py -#REQS_URL = 'https://raw.githubusercontent.com/The-AI-Brain/ai-brain/main/requirements.txt' -#MAIN_URL = 'https://raw.githubusercontent.com/The-AI-Brain/ai-brain/main/main.py' +REQS_URL = 'https://raw.githubusercontent.com/The-AI-Brain/ai-brain/main/requirements.txt' +MAIN_URL = 'https://raw.githubusercontent.com/The-AI-Brain/ai-brain/main/main.py' # Define paths for local requirements.txt and main.py files REQS_PATH = 'requirements.txt' @@ -252,7 +252,6 @@ async def get_chatin(chatText: str): # Main function to run the program def main(chatin): - check_updates() chatin = "Guest:" + chatin # Get response from ollama @@ -268,6 +267,7 @@ def main(chatin): def cli(): while True: + check_updates() toChat = input("brain@localhost:~$ ") main(f"{toChat}") cli()