Code works fine on the local host but not fully working using streamlit sharing!

The code works fine on the localhost but not fully working on the streamlit sharing!

but when I’m putting the same exact code on Github and by using streamlit sharing I can not see this particular part of the program ( everything else works fine)

I’m not done with the code for this particular part but I’m just wondering why is it not working on streamlit sharing!!

Hi, @amirmbhd welcome,
I was trying your app locally and it threw me an error.