Yes, please read the guide on how to ask an effective question and edit your original post to include relevant information described therein.
That said, the ValueError looks like a general Python programming error on your end, not a Streamlit-specific issue.