diff --git a/Dockerfile b/Dockerfile index 2b7caf19..9ce05f96 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,7 +35,9 @@ ENV UVICORN_HOST=0.0.0.0 ENV UVICORN_PORT=8000 ENV PATH="$HOME/faster-whisper-server/.venv/bin:$PATH" # https://huggingface.co/docs/huggingface_hub/en/package_reference/environment_variables#hfhubenablehftransfer -ENV HF_HUB_ENABLE_HF_TRANSFER=1 +# NOTE: I've disabled this because it doesn't inside of Docker container. I couldn't pinpoint the exact reason. This doesn't happen when running the server locally. +# RuntimeError: An error occurred while downloading using `hf_transfer`. Consider disabling HF_HUB_ENABLE_HF_TRANSFER for better error handling. +ENV HF_HUB_ENABLE_HF_TRANSFER=0 # https://huggingface.co/docs/huggingface_hub/en/package_reference/environment_variables#donottrack # https://www.reddit.com/r/StableDiffusion/comments/1f6asvd/gradio_sends_ip_address_telemetry_by_default/ ENV DO_NOT_TRACK=1