

feat: disable hf/gradio telemetry collection (#208)
@12fc4da17a103e8a8831f73282730c93a4850ef1
--- Dockerfile
+++ Dockerfile
... | ... | @@ -32,5 +32,8 @@ |
32 | 32 |
ENV PATH="$HOME/faster-whisper-server/.venv/bin:$PATH" |
33 | 33 |
# https://huggingface.co/docs/huggingface_hub/en/package_reference/environment_variables#hfhubenablehftransfer |
34 | 34 |
ENV HF_HUB_ENABLE_HF_TRANSFER=1 |
35 |
+# https://huggingface.co/docs/huggingface_hub/en/package_reference/environment_variables#donottrack |
|
36 |
+# https://www.reddit.com/r/StableDiffusion/comments/1f6asvd/gradio_sends_ip_address_telemetry_by_default/ |
|
37 |
+ENV DO_NOT_TRACK=1 |
|
35 | 38 |
EXPOSE 8000 |
36 | 39 |
CMD ["uvicorn", "--factory", "faster_whisper_server.main:create_app"] |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?