diff options
author | Malik Talha <talhamalik727x@gmail.com> | 2023-10-29 20:52:29 +0500 |
---|---|---|
committer | Malik Talha <talhamalik727x@gmail.com> | 2023-10-29 20:52:29 +0500 |
commit | 42a03d2550f60a8064078f19a743afb944f9ff69 (patch) | |
tree | c9a7b3d028737d5fecd2e05f69e1c744810ed5fb /agl_service_voiceagent/server.py | |
parent | a10c988b5480ca5b937a2793b450cfa01f569d76 (diff) |
Update voice agent service
Add new features such as an option to load service
using an external config file, enhanced kuksa client,
and a more robust mapper.
Signed-off-by: Malik Talha <talhamalik727x@gmail.com>
Change-Id: Iba3cfd234c0aabad67b293669d456bb73d8e3135
Diffstat (limited to 'agl_service_voiceagent/server.py')
-rw-r--r-- | agl_service_voiceagent/server.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/agl_service_voiceagent/server.py b/agl_service_voiceagent/server.py index 5fe0746..d8ce785 100644 --- a/agl_service_voiceagent/server.py +++ b/agl_service_voiceagent/server.py @@ -20,9 +20,8 @@ from agl_service_voiceagent.generated import voice_agent_pb2_grpc from agl_service_voiceagent.servicers.voice_agent_servicer import VoiceAgentServicer from agl_service_voiceagent.utils.config import get_config_value -SERVER_URL = get_config_value('SERVER_ADDRESS') + ":" + str(get_config_value('SERVER_PORT')) - def run_server(): + SERVER_URL = get_config_value('SERVER_ADDRESS') + ":" + str(get_config_value('SERVER_PORT')) print("Starting Voice Agent Service...") print(f"Server running at URL: {SERVER_URL}") print(f"STT Model Path: {get_config_value('STT_MODEL_PATH')}") |