refactoring server structure

This commit is contained in:
Serge Zaigraeff
2025-03-01 23:59:46 +03:00
parent 3b5cd3b995
commit 846ee25201
7 changed files with 463 additions and 460 deletions
+12
View File
@@ -0,0 +1,12 @@
import logging
# Настройка логирования
logging.basicConfig(
level=logging.INFO,
format="%(asctime)s - %(name)s - %(levelname)s - %(message)s",
handlers=[
logging.StreamHandler(),
logging.FileHandler("logs/transcribe.log")
]
)
logger = logging.getLogger("whisper-service")