Skip to content

armgit / rembg

Public Imported from GitHub
0

Rembg is a tool to remove images background

chore: Disable analytics in Gradio interface

Self Denial0dbce2da6f3f
diff --git a/rembg/commands/s_command.py b/rembg/commands/s_command.py
index a6cc276..1f70cb7 100644
--- a/rembg/commands/s_command.py
+++ b/rembg/commands/s_command.py
@@ -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="/")