Thanks, @nitishka. It might indeed relate to exceeding the maximum memory allowance in Streamlit Cloud, which could explain why it’s working well locally but not in Cloud.
As a debugging step, I would suggest trying with smaller files and seeing whether that works in the Cloud.
Also, please check this post for reference, where a user has been facing the same issue as yours:
Let me know ![]()
Charly