chore: Disable analytics in Gradio interface

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.
This commit is contained in:
Self Denial 2024-12-04 15:02:49 -07:00
parent 1101c1521c
commit 0dbce2da6f

View File

@ -306,6 +306,7 @@ def s_command(port: int, host: str, log_level: str, threads: int) -> None:
],
gr.components.Image(type="filepath", label="Output"),
concurrency_limit=3,
analytics_enabled=False,
)
app = gr.mount_gradio_app(app, interface, path="/")