|
35 | 35 | # from modules.speechinput import SpeechInput |
36 | 36 | from modules.arduinoserial import ArduinoSerial |
37 | 37 | from modules.neopx import NeoPx |
38 | | -from modules.tts import TTS |
39 | | -from modules.openaichat import OpenAiChat |
| 38 | +# from modules.tts import TTS |
| 39 | +# from modules.openaichat import OpenAiChat |
40 | 40 | from modules.personality import Personality |
41 | 41 | # from modules.battery import Battery |
42 | 42 | from modules.braillespeak import Braillespeak |
@@ -112,8 +112,8 @@ def main(): |
112 | 112 | # power = Power(Config.POWER_ENABLE_PIN) |
113 | 113 |
|
114 | 114 | neopx = NeoPx(Config.get('neopixel','count')) |
115 | | - tts = TTS(service=Config.get('tts','service'), voice_id=Config.get('tts','voice_id')) |
116 | | - openaichat = OpenAiChat() |
| 115 | + # tts = TTS(service=Config.get('tts','service'), voice_id=Config.get('tts','voice_id')) |
| 116 | + #openaichat = OpenAiChat() |
117 | 117 |
|
118 | 118 | if Config.get('motion','pin') != '': |
119 | 119 | motion = Sensor(Config.get('motion','pin')) |
@@ -165,7 +165,7 @@ def main(): |
165 | 165 | # sleep(1) # @todo is this needed? |
166 | 166 | # @todo this is throwing errors: ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device' |
167 | 167 |
|
168 | | - speech = SpeechInput() |
| 168 | + # speech = SpeechInput() |
169 | 169 | # Output |
170 | 170 | # if Config.get('buzzer', 'pin') != '': |
171 | 171 | # speak = Braillespeak(Config.get('buzzer', 'pin'), duration=80/1000) |
|
0 commit comments