I made this architecture diagram for the website that I made using Streamlit to host my predictive model but I am not sure if it is completely right.
My project strucuture is the following:
I have a Python file where I use Streamlit to create the necessary buttons and components for the website. Then, in the same file, when the user clicks the button, an API is called to retrieve the data. The necessary calculations are performed on the data. In that same file, I import the prediction model, which is saved in a pkl file, and make a prediction.
Feedback on my diagram?