fix(voice): update Whisper API IP address for MacMini M4 to 192.168.10.168
This commit is contained in:
parent
c8d01adec5
commit
f7153248c5
2 changed files with 2 additions and 2 deletions
|
|
@ -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):
|
||||
"""Фиксация статистики в основную базу Домового"""
|
||||
|
|
|
|||
|
|
@ -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"):
|
||||
|
|
|
|||
Loading…
Reference in a new issue