Solved by randyzwitch in post #6 
              
              
                Hi @Phoemela_Ballaran - 
Here is an example of having a file in your repo, so that you don’t have to dynamically create anything: 


Create a folder labelled .streamlit in your code repo,  then place the config.toml file in it. Commit it to GitHub and it will exist in your repo when you deploy it. 

…