fix(voice): update Whisper API IP address for MacMini M4 to 192.168.10.168

This commit is contained in:
Admin 2026-06-23 17:11:18 +04:00
parent c8d01adec5
commit f7153248c5
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ from pathlib import Path
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
router = Router() 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): def log_voice_to_db(user_id, username, msg_type, duration, text):
"""Фиксация статистики в основную базу Домового""" """Фиксация статистики в основную базу Домового"""

View file

@ -9,7 +9,7 @@ from pathlib import Path
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
# Настройки внешнего Whisper-сервиса на MacMini # Настройки внешнего Whisper-сервиса на MacMini
WHISPER_API_URL = "http://192.168.10.167:9001/transcribe" WHISPER_API_URL = "http://192.168.10.168:9001/transcribe"
class VoiceService: class VoiceService:
def __init__(self, db_path: str, model_size: str = "large-v3"): def __init__(self, db_path: str, model_size: str = "large-v3"):