From f7153248c580073adce450aa7be6fb730a2d490a Mon Sep 17 00:00:00 2001 From: Admin Date: Tue, 23 Jun 2026 17:11:18 +0400 Subject: [PATCH] fix(voice): update Whisper API IP address for MacMini M4 to 192.168.10.168 --- handlers/voice.py | 2 +- services/voice_service.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/handlers/voice.py b/handlers/voice.py index abd0170..7e1c0f2 100644 --- a/handlers/voice.py +++ b/handlers/voice.py @@ -12,7 +12,7 @@ from pathlib import Path logger = logging.getLogger(__name__) router = Router() -WHISPER_API_URL = "http://192.168.10.167:9001/transcribe" +WHISPER_API_URL = "http://192.168.10.168:9001/transcribe" def log_voice_to_db(user_id, username, msg_type, duration, text): """Фиксация статистики в основную базу Домового""" diff --git a/services/voice_service.py b/services/voice_service.py index ee09281..8370f5b 100644 --- a/services/voice_service.py +++ b/services/voice_service.py @@ -9,7 +9,7 @@ from pathlib import Path logger = logging.getLogger(__name__) # Настройки внешнего Whisper-сервиса на MacMini -WHISPER_API_URL = "http://192.168.10.167:9001/transcribe" +WHISPER_API_URL = "http://192.168.10.168:9001/transcribe" class VoiceService: def __init__(self, db_path: str, model_size: str = "large-v3"):