Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
@@ -13,7 +13,7 @@ APP_VERSION=1.0.0
|
||||
|
||||
# Server
|
||||
HOST=0.0.0.0
|
||||
PORT=5056
|
||||
PORT=5008
|
||||
RELOAD=True
|
||||
|
||||
#SFTP
|
||||
@@ -23,4 +23,6 @@ SFPT_PASSWORD = Audio4analy6!6
|
||||
|
||||
FILESAPTH = audiofiles
|
||||
|
||||
GIGAAM_API_URL = http://localhost:5001
|
||||
GIGAAM_API_URL = http://host.docker.internal:5002
|
||||
CALLS_WEB_CLIENT_URL=http://web_client_test:8642
|
||||
AUDIO_FILES_PATH_TEST=D:\SpeechAnalitics\audiofiles
|
||||
|
||||
+2
-2
@@ -25,14 +25,14 @@ PORT = int(os.getenv("PORT", "5008"))
|
||||
HOST = os.getenv("HOST", "localhost")
|
||||
|
||||
# GigaAM API Configuration
|
||||
GIGAAM_API_URL = os.getenv("GIGAAM_API_URL", "http://192.168.1.73:5002")
|
||||
GIGAAM_API_URL = os.getenv("GIGAAM_API_URL", "http://host.docker.internal:5002")
|
||||
|
||||
AUDIOFILES_PATH = os.path.join(os.getcwd(), os.getenv("FILESAPTH", "audiofiles"))
|
||||
|
||||
# Calls_WEB_Client_main Webhook Configuration
|
||||
CALLS_WEB_CLIENT_URL = os.getenv(
|
||||
"CALLS_WEB_CLIENT_URL",
|
||||
"http://192.168.1.73:8642"
|
||||
"http://host.docker.internal:8642"
|
||||
)
|
||||
WEBHOOK_ENDPOINT = f"{CALLS_WEB_CLIENT_URL}/api/transcription/webhook"
|
||||
WEBHOOK_API_KEY = os.getenv("WEBHOOK_API_KEY", "webhook_secret_key")
|
||||
|
||||
@@ -250,7 +250,7 @@ async def process_all_pending_audio(
|
||||
logger.info(f"🚀 Поиск Audio без AiConclusion (limit={limit})")
|
||||
|
||||
# Находим все Audio без AiConclusion используя вспомогательную функцию
|
||||
pending_audio = query_audio_without_conclusion(db, limit).all()
|
||||
pending_audio: list[Audio] = query_audio_without_conclusion(db, limit).all()
|
||||
total_pending = query_audio_without_conclusion(db).count()
|
||||
|
||||
if not pending_audio:
|
||||
|
||||
Reference in New Issue
Block a user