Hi @Naoufal, thanks for joining the Streamlit community!
Websockets are a core component of Streamlit, so I’m not sure there’s any workarounds that can be suggested. This thread also discusses the reasoning behind this structure and a possible solution: