I need help

I made a streamlit app which take the input text from the users and store it in the database file.
It is working in the local drive but it is not working while in hosting using GitHub.
the users data is not storing in the backend database.
I tried a lot to solve it, but need help.