From e274a33add1cc857971c306bba21f29491311768 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 11 Nov 2024 10:23:20 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/asr/test_asr_whisper.sh | 2 +- tests/dataprep/test_dataprep_multimedia.sh | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/asr/test_asr_whisper.sh b/tests/asr/test_asr_whisper.sh index 73bc8694d..d0928cf34 100644 --- a/tests/asr/test_asr_whisper.sh +++ b/tests/asr/test_asr_whisper.sh @@ -20,7 +20,7 @@ function build_docker_images() { fi docker build --no-cache -t opea/asr:comps --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/asr/whisper/Dockerfile . - + if [ $? -ne 0 ]; then echo "opea/asr built fail" exit 1 diff --git a/tests/dataprep/test_dataprep_multimedia.sh b/tests/dataprep/test_dataprep_multimedia.sh index 8b35a1e1d..a01fe9b5f 100644 --- a/tests/dataprep/test_dataprep_multimedia.sh +++ b/tests/dataprep/test_dataprep_multimedia.sh @@ -73,7 +73,7 @@ function start_services() { echo "opea/whisper start successful" fi - + docker run -d -p 9099:9099 --name="test-comps-mm-a2t-service" --ipc=host -e http_proxy=$http_proxy -e https_proxy=$https_proxy -e A2T_ENDPOINT=http://$host_ip:7066 opea/a2t:comps if [ $? -ne 0 ]; then echo "opea/a2t service fail to start" @@ -88,7 +88,7 @@ function start_services() { exit 1 else echo "opea/v2a start successful" - fi + fi docker run -d -p 7079:7079 --name="test-comps-mm-multimedia2text-service" --ipc=host -e http_proxy=$http_proxy -e https_proxy=$https_proxy \ @@ -101,7 +101,7 @@ function start_services() { exit 1 else echo "opea/multimedia2text start successful" - fi + fi sleep 60s @@ -180,7 +180,7 @@ function validate_microservices() { "whisper-service" \ "whisper-service" \ "{\"audio\": \"$(input_data_for_test "audio")\"}" - + # Audio2Text service validate_services \ "${host_ip}:9099/v1/audio/transcriptions" \