Browse Source

Merge pull request #694 from lainedfles/disable-gradio-analytics

chore: Disable analytics in Gradio interface
Daniel Gatis 9 months ago
parent
commit
b792fa5b44
1 changed files with 1 additions and 0 deletions
  1. 1 0
      rembg/commands/s_command.py

+ 1 - 0
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="/")