removed final duplicate update block

This commit is contained in:
crowetic 2025-05-19 09:25:04 -07:00
parent 8ec89986af
commit 1a95585ebc

View File

@ -42,22 +42,22 @@ if [[ "$1" == "--update" ]]; then
echo "⚠️ JupyterLab is not running, skipping update." echo "⚠️ JupyterLab is not running, skipping update."
fi fi
# Whisper (whisper.cpp) # # Whisper (whisper.cpp)
if check_container_running "whisper"; then # if check_container_running "whisper"; then
echo "🧼 Updating Whisper..." # echo "🧼 Updating Whisper..."
docker stop whisper # docker stop whisper
docker rm whisper # docker rm whisper
docker pull ggerganov/whisper.cpp:latest # docker pull ggerganov/whisper.cpp:latest
docker run -d \ # docker run -d \
--name whisper \ # --name whisper \
--network ai-stack-net \ # --network ai-stack-net \
--gpus all \ # --gpus all \
-v whisper_data:/app/data \ # -v whisper_data:/app/data \
ggerganov/whisper.cpp:latest # ggerganov/whisper.cpp:latest
echo "✅ Whisper updated." # echo "✅ Whisper updated."
else # else
echo "⚠️ Whisper is not running, skipping update." # echo "⚠️ Whisper is not running, skipping update."
fi # fi
# # Stable Diffusion (A1111) # # Stable Diffusion (A1111)
# if check_container_running "stable-diffusion"; then # if check_container_running "stable-diffusion"; then