I changed the github branch with my st app to a different branch (main), using git push -u origin new-branch-name, and changing the default branch in github to new-branch-name.
Now the st app still uses the old code from the branch called main.
Other than deleting the app and starting over, is there another way to get streamlit to use the code from the new branch?
(I have other issues, but have to solve this one first)
@steveA As you said that you have changed the branch after deployment, it is logical that your app will not work as intended. Instead, you could have created a new-branch-name with you changes and then must have deployed.
But, now you can delete your app that is functioning based on your previous-branch and deploy a new app by filling the new-branch-name.