Plotly graph throws an error when deployed to streamlit cloud

My streamlit plotly heatmap works locally but I deployed it to the cloud it shows an error like this.


app: Streamlit (happiness-insights.streamlit.app)

github: NirmalSankalana/happiness-insights (github.com)

Can anyone help me to fix this?
Thanks

Your requirements.txt is empty on Github.
Please add packages you use e.g. streamlit and plotly.

Example requirements.txt file:

streamlit
pandas
plotly

Let me know if that solves your issue! if so, mark this as solution. Else let me know the error.

1 Like

Now It’s working. Thank you so mutch

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.