From fda08d7d0d9ce8ae636a9b75af5393b0a58b2934 Mon Sep 17 00:00:00 2001 From: Blallo Date: Fri, 17 Sep 2021 11:06:05 +0200 Subject: [PATCH] Add test infra for local audio source --- docker-compose.yaml | 1 + docker/config.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 15b65d2..77f5363 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -35,6 +35,7 @@ services: build: . volumes: - .:/src/techrec + - rec:/rec - ./docker/output:/src/output ports: - 8000:8000 diff --git a/docker/config.py b/docker/config.py index cff9654..f723172 100644 --- a/docker/config.py +++ b/docker/config.py @@ -1,6 +1,6 @@ -import logging - AUDIO_INPUT = "http://storage/ror" +# decomment this if you want to test with local audio source +# AUDIO_INPUT = "/rec/ror" AUDIO_OUTPUT = "/src/output" DEBUG = True HOST = "0.0.0.0"