Skip to content

Instantly share code, notes, and snippets.

@sht0rmx
Created September 12, 2025 19:59
Show Gist options
  • Select an option

  • Save sht0rmx/76105d2711d35aee6160084adc6c36fd to your computer and use it in GitHub Desktop.

Select an option

Save sht0rmx/76105d2711d35aee6160084adc6c36fd to your computer and use it in GitHub Desktop.
streamlit config
[global]
disableWidgetStateDuplicationWarning = false
showWarningOnDirectExecution = true
[logger]
level = "info"
messageFormat = "%(asctime)s %(message)s"
[client]
showErrorDetails = "full"
toolbarMode = "minimal"
showSidebarNavigation = true
[runner]
magicEnabled = false
fastReruns = false
enforceSerializableSessionState = false
enumCoercion = "off"
[server]
folderWatchBlacklist = []
fileWatcherType = "auto"
cookieSecret = "a-random-key-appears-here"
headless = true
runOnSave = true
address = "0.0.0.0"
port = 8501
baseUrlPath = ""
enableCORS = true
enableXsrfProtection = true
maxUploadSize = 5
maxMessageSize = 200
enableWebsocketCompression = false
enableStaticServing = false
disconnectedSessionTTL = 120
[theme]
# The preset Streamlit theme that your custom theme inherits from.
# This can be one of the following: "light" or "dark".
base = "dark"
primaryColor = "#ca9ee6"
backgroundColor = "#24273a"
secondaryBackgroundColor = "#1e2030"
textColor = "#cad3f5"
linkColor = "#8aadf4"
codeBackgroundColor = "#363a4f"
font = "sans-serif"
headingFont = "sans-serif"
codeFont = "monospace"
# An array of fonts to use in your app. Each font in the array is a table
# (dictionary) with the following three attributes: family, url, weight,
# and style. To host a font with your app, enable static file serving
# with `server.enableStaticServing=true`. You can define multiple
# [[theme.fontFaces]] tables.
# For example, each font is defined in a [[theme.fontFaces]] table as
# follows:
# [[theme.fontFaces]]
# family = "font_name"
# url = "app/static/font_file.woff"
# weight = 400
# style = "normal"
# fontFaces =
baseRadius = "medium"
borderColor = "#6c7086"
showWidgetBorder = true
baseFontSize = 16
showSidebarBorder = true
[ui]
hideTopBar = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment