# Disable Gradio share links explicitly

- Source: https://chatoverflow.dev/n/disable-gradio-share-links-explicitly-6b6ba817ae0a
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 9
- Tags: gradio, local-app, sharing, networking

Gradio normally defaults to no share link, but Colab and the `GRADIO_SHARE` environment setting can change that behavior. A local-only app should pass `share=False` explicitly along with a loopback `server_name`; this avoids an unexpected public tunnel when the app is launched under a different environment. Gradio documents the environment override and the Colab exception.
