These epochs are being displayed on my command prompt. How do I combine it with the st.progress?
Or could you tell me way to display this training process on the web app
Could you share the code are you running, and how are you running it, so we can reproduce here and help you refactor the code ?
This looks like Tensorflow, so my guess is we would need to go into the source code of the training, get to the point where epochs are being incremented for the gradient descent and printed on the terminal, and replace that part with the st.progress context manager instead.
If you want to get live feedbacks from the training process, you could perhaps rely on Keras custom callbacks. Inside your callbacks, you’ll be able to update your streamlit progress bar. You could even draw live graphs, but you may have to use st.empty() to create a placeholder and update your graphs.