diff --git a/AvatarChatbot/docker_compose/intel/cpu/xeon/README.md b/AvatarChatbot/docker_compose/intel/cpu/xeon/README.md index f0b36c94b..398ad12c0 100644 --- a/AvatarChatbot/docker_compose/intel/cpu/xeon/README.md +++ b/AvatarChatbot/docker_compose/intel/cpu/xeon/README.md @@ -37,9 +37,9 @@ docker build -t opea/tts:latest --build-arg https_proxy=$https_proxy --build-arg ### 5. Build Animation Image ```bash -docker build -t opea/wav2lip:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/animation/wav2lip/dependency/Dockerfile . +docker build -t opea/wav2lip:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/animation/src/integration/dependency/Dockerfile . -docker build -t opea/animation:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/animation/wav2lip/Dockerfile . +docker build -t opea/animation:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/animation/src/Dockerfile . ``` ### 6. Build MegaService Docker Image diff --git a/AvatarChatbot/docker_compose/intel/hpu/gaudi/README.md b/AvatarChatbot/docker_compose/intel/hpu/gaudi/README.md index b35726f63..73365cab8 100644 --- a/AvatarChatbot/docker_compose/intel/hpu/gaudi/README.md +++ b/AvatarChatbot/docker_compose/intel/hpu/gaudi/README.md @@ -37,9 +37,9 @@ docker build -t opea/tts:latest --build-arg https_proxy=$https_proxy --build-arg ### 5. Build Animation Image ```bash -docker build -t opea/wav2lip-gaudi:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/animation/wav2lip/dependency/Dockerfile.intel_hpu . +docker build -t opea/wav2lip-gaudi:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/animation/src/integration/dependency/Dockerfile.intel_hpu . -docker build -t opea/animation:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/animation/wav2lip/Dockerfile . +docker build -t opea/animation:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/animation/src/Dockerfile . ``` ### 6. Build MegaService Docker Image diff --git a/AvatarChatbot/docker_image_build/build.yaml b/AvatarChatbot/docker_image_build/build.yaml index 23ba3d429..3cd05b473 100644 --- a/AvatarChatbot/docker_image_build/build.yaml +++ b/AvatarChatbot/docker_image_build/build.yaml @@ -56,18 +56,18 @@ services: wav2lip-gaudi: build: context: GenAIComps - dockerfile: comps/animation/wav2lip/dependency/Dockerfile.intel_hpu + dockerfile: comps/animation/src/integration/dependency/Dockerfile.intel_hpu extends: avatarchatbot image: ${REGISTRY:-opea}/wav2lip-gaudi:${TAG:-latest} wav2lip: build: context: GenAIComps - dockerfile: comps/animation/wav2lip/dependency/Dockerfile + dockerfile: comps/animation/src/integration/dependency/Dockerfile extends: avatarchatbot image: ${REGISTRY:-opea}/wav2lip:${TAG:-latest} animation: build: context: GenAIComps - dockerfile: comps/animation/wav2lip/Dockerfile + dockerfile: comps/animation/src/Dockerfile extends: avatarchatbot image: ${REGISTRY:-opea}/animation:${TAG:-latest} diff --git a/AvatarChatbot/tests/test_compose_on_gaudi.sh b/AvatarChatbot/tests/test_compose_on_gaudi.sh index aab0e3b68..251245c63 100755 --- a/AvatarChatbot/tests/test_compose_on_gaudi.sh +++ b/AvatarChatbot/tests/test_compose_on_gaudi.sh @@ -64,7 +64,7 @@ function start_services() { export WAV2LIP_PORT=7860 export INFERENCE_MODE='wav2lip+gfpgan' export CHECKPOINT_PATH='/usr/local/lib/python3.10/dist-packages/Wav2Lip/checkpoints/wav2lip_gan.pth' - export FACE="assets/img/avatar1.jpg" + export FACE="/home/user/comps/animation/src/assets/img/avatar1.jpg" # export AUDIO='assets/audio/eg3_ref.wav' # audio file path is optional, will use base64str in the post request as input if is 'None' export AUDIO='None' export FACESIZE=96 diff --git a/AvatarChatbot/tests/test_compose_on_xeon.sh b/AvatarChatbot/tests/test_compose_on_xeon.sh index 2bed682cf..6201a6c27 100755 --- a/AvatarChatbot/tests/test_compose_on_xeon.sh +++ b/AvatarChatbot/tests/test_compose_on_xeon.sh @@ -64,7 +64,7 @@ function start_services() { export WAV2LIP_PORT=7860 export INFERENCE_MODE='wav2lip+gfpgan' export CHECKPOINT_PATH='/usr/local/lib/python3.11/site-packages/Wav2Lip/checkpoints/wav2lip_gan.pth' - export FACE="assets/img/avatar5.png" + export FACE="/home/user/comps/animation/src/assets/img/avatar5.png" # export AUDIO='assets/audio/eg3_ref.wav' # audio file path is optional, will use base64str in the post request as input if is 'None' export AUDIO='None' export FACESIZE=96