update
This commit is contained in:
parent
932ac3c5ad
commit
67d3af8896
21
ws_client.py
21
ws_client.py
|
@ -6,23 +6,18 @@ import platform
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
||||||
# server_url = 'ws://121.41.224.27:8000/chat'
|
|
||||||
# server_url = 'ws://39.107.254.69:33089/chat'
|
|
||||||
# server_url = 'wss://takway-ai.kingtous.cn/chat/streaming'
|
|
||||||
# server_url = 'ws://114.214.236.207:7878/chat/streaming'
|
|
||||||
server_url = 'wss://takway-ai.top:8001/api/chat/streaming/temporary'
|
server_url = 'wss://takway-ai.top:8001/api/chat/streaming/temporary'
|
||||||
|
|
||||||
# session_id = 'b5923335-a0dd-4d50-b3bf-5ce2a50894ed'
|
# session_id = 'de9dc06c-2d74-42f8-9c11-9797f9fe0d01' # 麓旬
|
||||||
# session_id = '28445e6d-e8c1-46a6-b980-fbf39b918def' # 鸭
|
# session_id = '3f7c2d8f-dc8a-4f1b-9fe0-6bf56c759a41' # 砚文
|
||||||
# session_id = '6e4e7404-c4db-45ac-ba88-b0a483556f66' # 睡 v2
|
# session_id = '1fd56ce7-f21e-4eb4-8dc8-3a17960ae328' # 越哥
|
||||||
session_id = '469f4a99-12a5-45a6-bc91-353df07423b6' # 新
|
# session_id = 'bfcc4bbc-ac94-4604-8fd7-50545b8c6a5f' # 楼总
|
||||||
# session_id = '2eaaeb9b-a40b-49cc-a0f8-390f9204c723' # 新2, 机器人声音
|
session_id = '469f4a99-12a5-45a6-bc91-353df07423b6' # 鸿志
|
||||||
|
|
||||||
|
|
||||||
excute_args = {}
|
excute_args = {}
|
||||||
# excute_args = {'enable': True}
|
# excute_args = {'enable': True}
|
||||||
|
|
||||||
ACCESS_KEY = 'hqNqw85hkJRXVjEevwpkreB8n8so3w9JPQ27qnCR5qTH8a3+XnkZTA=='
|
|
||||||
|
|
||||||
system = platform.system()
|
system = platform.system()
|
||||||
if system == 'Windows':
|
if system == 'Windows':
|
||||||
|
@ -31,7 +26,9 @@ if __name__ == '__main__':
|
||||||
elif system == 'Linux':
|
elif system == 'Linux':
|
||||||
# board = 'v329'
|
# board = 'v329'
|
||||||
board = 'orangepi'
|
board = 'orangepi'
|
||||||
ACCESS_KEY = 'GPFKn+Z9LHGh8yZNfWkLUYRixnrsyY+5w8KN3rpl6sw+Bi7XIqbgTw=='
|
# ACCESS_KEY = 'neOpatzY/mTzSyxdHs+ajNfpY/7SX1WrlqP/D6+5Km8THUxfZdcauQ==' # luxun
|
||||||
|
ACCESS_KEY = 'KwdWw3V5X9Dz0c9x+5HmGAMi7GbW0kvnaGOAPloIAYwhp06jNt5baw==' # yuyue
|
||||||
|
# ACCESS_KEY = 'hqNqw85hkJRXVjEevwpkreB8n8so3w9JPQ27qnCR5qTH8a3+XnkZTA==' # gaohz
|
||||||
|
|
||||||
mircophone_device = None
|
mircophone_device = None
|
||||||
speaker_device = None
|
speaker_device = None
|
||||||
|
@ -186,4 +183,4 @@ if __name__ == '__main__':
|
||||||
player_args=player_args,
|
player_args=player_args,
|
||||||
excute_args=excute_args,
|
excute_args=excute_args,
|
||||||
log_args=log_args)
|
log_args=log_args)
|
||||||
localclient.process_init()
|
localclient.process_init()
|
||||||
|
|
Loading…
Reference in New Issue