mirror of
https://git.mirrors.martin98.com/https://github.com/danielgatis/rembg
synced 2025-08-16 00:55:54 +08:00
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:
parent
1101c1521c
commit
0dbce2da6f
@ -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="/")
|
||||
|
Loading…
x
Reference in New Issue
Block a user