Streamlit config and suppressing errors

Posted under » Python on 22 Jan 2022

You can see your streamlit config by

$ streamlit config show

You will see something like this.

In order to change any of this configs, you have to create a directory (where your script is running) called .streamlit and the config file config.toml `.streamlit/config.toml' and modify it.

To change the default port

[server]

port = 8080

To disable errors from showing

[client]

showErrorDetails = false

To change background colour

[theme]
backgroundColor = '#003b5c'

web security linux ubuntu python django git Raspberry apache mysql php drupal cake javascript css AWS data