Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Disable analytics in Gradio interface #694

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

lainedfles
Copy link
Contributor

This commit disables the analytics feature in the Gradio interface within the s_command.py file. Disabling analytics can help maintain user privacy and align with data protection policies or organizational guidelines. The change involves adding the analytics_enabled=False parameter to the gr.Interface constructor, ensuring that no usage data is collected from users interacting with the application.

Presently, the environment is the only way to disable it. Something like:

env GRADIO_ANALYTICS_ENABLED=False rembg i ~/Pictures/input.png ~/Pictures/output.png

This commit disables the analytics feature in the Gradio interface within the `s_command.py` file. Disabling analytics can help maintain user privacy and align with data protection policies or organizational guidelines. The change involves adding the `analytics_enabled=False` parameter to the `gr.Interface` constructor, ensuring that no usage data is collected from users interacting with the application.
@danielgatis danielgatis merged commit b792fa5 into danielgatis:main Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants