Reinstalling dependencies for every app reboot

All the dependencies mentioned in requirements.txt are being reinstalled after every app reboot.
Also, when I do a git push, for a repo connected with streamlit cloud, should I reboot or only rerun to see the code changes reflect.

This makes testing small changes very time consuming. Please help. How to deploy changes on streamlit app deployed on streamlit cloud faster.

It is indeed. Therefore i would recommend to develop, debug and test your streamlit app locally in a Docker container and only deploy to Streamlit Cloud, after all changes are implemented and all issues are resolved.