From e7cb3d614fd7a31526707d7ec75beda63a68266a Mon Sep 17 00:00:00 2001 From: ThatLinuxFan <9904667+NodeMixaholic@users.noreply.github.com> Date: Wed, 3 Jan 2024 10:37:19 -0600 Subject: [PATCH] Update main.py --- main.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.py b/main.py index 4e8feed..9e0efc7 100644 --- a/main.py +++ b/main.py @@ -250,16 +250,16 @@ async def get_emote(): async def get_chatin(chatText: str): return await main(chatText) +# Main function to run the program # Main function to run the program def main(chatin): chatin = "Guest:" + chatin - + # Print ollama response and what it said + print(f"You: {chatin}") + print(f"AI:") # Get response from ollama message = llm(f"(Additional context for reply: {completeContext}), reply to this: {chatin}") - # Print ollama response and what it said - print(f"You: {chatin}") - print(f"AI: {message}") return f"You: {chatin}\n${name}: ${message}"