check your requirements.txt file , it should have “plotly” in it . also add library u have used in your code ex- streamlit, pandas,etc.