I have just started using Streamlit and it’s amazing that I wanted to deploy my model by creating the project in Github. I have followed the documentation on the requirements for creating a Streamlit web application. Now, that my TensorFlow Keras model (after training) is ready as my_model.pb file (unable to save the model as pickle file because its a weak reference object). I placed this model at the same level as the .py file used for running the app. Please note that I am able to run the application using my browser which means it is working perfectly fine on my local machine. But when I upload the code to Github, it is unable to load the model due to some path issues and I could not resolve it. It would be really helpful if you can look into this and let me know if there is something that I am missing or what needs to be done to deploy the app.
I am sharing the link to my public repo for your reference. Kindly have a look and let me know.
Thank you in advance.