Getting these extra texts on screen while deploying locally

I don’t see it in your code snippet, but the screenshot you shared looks like you might be using st.help, like this

import streamlit as st

st.help(st)

Are you using st.help somewhere in your code?

By the way, this is a helpful post about the best way to get issues resolved on the forum How to post a question in the Streamlit forum ✍️ 🎈