Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 11, 2024
1 parent f1d1b06 commit e274a33
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/asr/test_asr_whisper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions tests/dataprep/test_dataprep_multimedia.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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 \
Expand All @@ -101,7 +101,7 @@ function start_services() {
exit 1
else
echo "opea/multimedia2text start successful"
fi
fi

sleep 60s

Expand Down Expand Up @@ -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" \
Expand Down

0 comments on commit e274a33

Please sign in to comment.