You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we can talk to it, and receive its text responses .. it would be great to hear it reply ..
This is for nanobot v0.2.2. Be aware that tts will add a delay while the text is synthesized and that this, its bad code (not properly integrated etc) because im hoping to give a push towards the functionality .. hopefully im not alone here?
please use this only as guide, it will not add audio responses everywhere, instead it will add audio responses too whatsapp, in place of text responses.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
we can talk to it, and receive its text responses .. it would be great to hear it reply ..
This is for nanobot v0.2.2. Be aware that tts will add a delay while the text is synthesized and that this, its bad code (not properly integrated etc) because im hoping to give a push towards the functionality .. hopefully im not alone here?
please use this only as guide, it will not add audio responses everywhere, instead it will add audio responses too whatsapp, in place of text responses.
config.json:
nanobot/channels/whatsapp.py
find this line:
lid_mappings: dict[str, str] = Field(default_factory=dict)on the next line, add:
tts: bool = Truetts_url: str = "http://10.0.0.11:8001/api/tts"tts_speaker: str = "p364"find this line:
chat_id = msg.chat_idadd this section immediately after:
find this line (its immediately after ^):
if msg.content:replace with:
if msg.content and not tts:or not if you want both text and audio..
All reactions