Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejgray committed Oct 29, 2023
1 parent 3c9d382 commit 6739e63
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ def _enable_wake_word(self, ww: str, message: Message) -> bool:
resp = self._emit_ww_enable_message(ww, message)
if resp.data.get('error') == "ww not configured":
LOG.warning(f"WW not configured at the system level, patching: {ww}")
patch_config({"hotwords": {"hey_jarvis": {"active": True}}})
patch_config({"hotwords": {"hey_jarvis": {"active": True, "listen": True}}})
resp = self._emit_ww_enable_message(ww, message)
if resp and resp.data.get("error"):
self.log.error(f"WW enable failed with response: {resp.data}")
Expand Down Expand Up @@ -446,10 +446,10 @@ def _set_jarvis_voice(self) -> None:
patch_config(jarvis_config)

def _set_user_jarvis_tts_settings(self) -> None:
"""Update user ngi_user_info.yml with male settings and en_UK locale."""
"""Update user ngi_user_info.yml with male settings and en-uk locale."""
jarvis_config = {
"speech": {
"tts_language": "en_UK",
"tts_language": "en-uk",
"tts_gender": "male",
"secondary_tts_gender": "male",
}
Expand All @@ -458,10 +458,10 @@ def _set_user_jarvis_tts_settings(self) -> None:
NGIConfig("ngi_user_info", force_reload=True).update_keys(jarvis_config)

def _set_user_neon_tts_settings(self) -> None:
"""Update user ngi_user_info.yml with female settings and en_US locale."""
"""Update user ngi_user_info.yml with female settings and en-us locale."""
neon_config = {
"speech": {
"tts_language": "en_US",
"tts_language": "en-us",
"tts_gender": "female",
"secondary_tts_gender": "female",
}
Expand Down
2 changes: 1 addition & 1 deletion locale/en-us/dialog/neon_confirmation.dialog
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Hello! I am Neon.AI, ready to assist.
Hello! I am Neon dot A.I., ready to assist.
I'm back to my old self again! This is Neon.

0 comments on commit 6739e63

Please sign in to comment.