Skip to content

Commit

Permalink
Add services to tests and correct small text error (#26)
Browse files Browse the repository at this point in the history
* Add services to tests and correct small text error

Signed-off-by: Melanie Buehler <[email protected]>

* Revert unintended changes

Signed-off-by: Melanie Buehler <[email protected]>

---------

Signed-off-by: Melanie Buehler <[email protected]>
  • Loading branch information
mhbuehler authored Dec 5, 2024
1 parent fdf5a08 commit aa5a5ac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion MultimodalQnA/tests/test_compose_on_gaudi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function build_docker_images() {
# git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout "${opea_branch:-"main"}" && cd ../
git clone --single-branch --branch="mmqna-audio-query" https://github.com/mhbuehler/GenAIComps.git
echo "Build all the images with --no-cache, check docker_image_build.log for details..."
service_list="multimodalqna multimodalqna-ui embedding-multimodal-bridgetower embedding-multimodal retriever-multimodal-redis lvm-tgi dataprep-multimodal-redis"
service_list="multimodalqna multimodalqna-ui embedding-multimodal-bridgetower embedding-multimodal retriever-multimodal-redis lvm-tgi dataprep-multimodal-redis whisper-service asr"
docker compose -f build.yaml build ${service_list} --no-cache > ${LOG_PATH}/docker_image_build.log

docker pull ghcr.io/huggingface/tgi-gaudi:2.0.6
Expand Down
3 changes: 1 addition & 2 deletions MultimodalQnA/tests/test_compose_on_xeon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function build_docker_images() {
# git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout "${opea_branch:-"main"}" && cd ../
git clone --single-branch --branch="mmqna-audio-query" https://github.com/mhbuehler/GenAIComps.git
echo "Build all the images with --no-cache, check docker_image_build.log for details..."
service_list="multimodalqna multimodalqna-ui embedding-multimodal-bridgetower embedding-multimodal retriever-multimodal-redis lvm-llava lvm-llava-svc dataprep-multimodal-redis"
service_list="multimodalqna multimodalqna-ui embedding-multimodal-bridgetower embedding-multimodal retriever-multimodal-redis lvm-llava lvm-llava-svc dataprep-multimodal-redis whisper-service asr"
docker compose -f build.yaml build ${service_list} --no-cache > ${LOG_PATH}/docker_image_build.log

docker images && sleep 1m
Expand Down Expand Up @@ -265,7 +265,6 @@ function validate_megaservice() {
"multimodalqna" \
"multimodalqna-backend-server" \
'{"messages": [{"role": "user", "content": [{"type": "text", "text": "hello, "}]}, {"role": "assistant", "content": "opea project! "}, {"role": "user", "content": [{"type": "text", "text": "goodbye"}]}]}'

}

function validate_delete {
Expand Down
2 changes: 1 addition & 1 deletion MultimodalQnA/ui/gradio/multimodalqna_ui_gradio.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ def hide_text(request: gr.Request):


def clear_text(request: gr.Request):
return {}
return None


with gr.Blocks() as upload_video:
Expand Down

0 comments on commit aa5a5ac

Please sign in to comment.