How to feed streamlit app from Cloud in real time?

I would like to ask a question about real-time machine learning? I need to do real-time binary classification based on the excavator operational dataset. They are tabular data and 2 classes. After building the Streamlit WebApp, how the streamlit app will read data from the cloud in real-time? Which packages or libraries should I use?

Input: 5 features (numerical)
Output: 2 classes
Model: Machine Learning Classification.
PLC datalogger will be used for the data acquisition and sent to the cloud and then cloud to the WebApp.

Thank you.