mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-21 04:39:06 +00:00
add singleton logging
This commit is contained in:
@@ -3,7 +3,7 @@ import configparser
|
||||
import datetime
|
||||
import io
|
||||
import json
|
||||
import logging
|
||||
from utils.log_utils import logger
|
||||
import os
|
||||
import threading
|
||||
import uuid
|
||||
@@ -11,7 +11,6 @@ import wave
|
||||
from concurrent.futures import ThreadPoolExecutor
|
||||
|
||||
import jax.numpy as jnp
|
||||
from aiohttp import webq
|
||||
|
||||
from aiortc import MediaStreamTrack, RTCPeerConnection, RTCSessionDescription
|
||||
from aiortc.contrib.media import (MediaRelay)
|
||||
@@ -27,8 +26,6 @@ config = configparser.ConfigParser()
|
||||
config.read('config.ini')
|
||||
|
||||
WHISPER_MODEL_SIZE = config['DEFAULT']["WHISPER_MODEL_SIZE"]
|
||||
|
||||
logger = logging.getLogger("pc")
|
||||
pcs = set()
|
||||
relay = MediaRelay()
|
||||
data_channel = None
|
||||
|
||||
Reference in New Issue
Block a user