I am running a combination streamlit frontend, FastAPI backend on my local computer. The frontend asks the user some questions and then gets a text response which I want to show in a scrollable HTML window on the frontend. To do this I used this code:
from streamlit.components.v1 import html
st.markdown(html(original_text, scrolling=True, height=400), unsafe_allow_html=True)
It does the job, but it always adds this extraneous text at the bottom of the window that I cannot figure out how to get rid of like this: