intégration de la détéction audio à l'interface

This commit is contained in:
Quentin Roussel
2023-03-26 23:48:17 +02:00
parent f978ed0a8b
commit 38c9e4e0ea
23 changed files with 74 additions and 40 deletions

View File

@@ -4,6 +4,9 @@ import json
import os
import threading
import websockets
from dotenv import load_dotenv
load_dotenv()
class WebsocketServer(threading.Thread):
def __init__(self, onMessage, port=os.getenv("PORT"), host=os.getenv("HOST")):