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


port = 8080

To disable errors from showing


showErrorDetails = false

To change background colour

backgroundColor = '#003b5c'

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