sylvie-2024

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit c8bd0b914fa940a24badb57ecab96e186d3bd34d
parent b1bc9128c82e63a1c617e122627b06bac413868c
Author: khanumballz <[email protected]>
Date:   Sun, 19 May 2024 22:56:25 +1200

Chatterbot Ollama Hybrid Success

Diffstat:
Mpython/conversation/chatterbot/chatterbot_ollama.py | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/python/conversation/chatterbot/chatterbot_ollama.py b/python/conversation/chatterbot/chatterbot_ollama.py @@ -180,6 +180,14 @@ while True: global_prefix = "" global_suffix = "" continue + elif user_input.lower() == "enable microphone": + print('Microphone enabled.') + # To do + continue + elif user_input.lower() == "disable microphone": + print('Microphone disabled.') + # To do + continue if learning_mode: input_statement = Statement(user_input)