preparation intégration reconaissance vocale

This commit is contained in:
Quentin Roussel
2023-03-23 09:53:16 +01:00
parent bc0270b707
commit e097c1fd23
13 changed files with 87 additions and 32 deletions

View File

@@ -28,4 +28,10 @@ class WebsocketServer(threading.Thread):
await asyncio.sleep(0.01)
def sendMessage(self,message):
self.messageQueue.append(message)
self.messageQueue.append(message)
class ApiClient():
def __init__(self, host=os.getenv("API_HOST"), port=os.getenv("API_PORT")):
self.host = host
self.port = port