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"):