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

chore: Disable analytics in Gradio interface
This commit is contained in:
Daniel Gatis 2024-12-10 13:17:40 -03:00 committed by GitHub
commit b792fa5b44
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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"), gr.components.Image(type="filepath", label="Output"),
concurrency_limit=3, concurrency_limit=3,
analytics_enabled=False,
) )
app = gr.mount_gradio_app(app, interface, path="/") app = gr.mount_gradio_app(app, interface, path="/")