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 d54f99a commit 6be0200
Showing 1 changed file with 4 additions and 4 deletions.
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 6be0200

Please sign in to comment.