When I write the API response, the response has green text

You’ve got to help me out here with more details :sweat_smile: Using Streamlit: how to post a question in the Streamlit forum . Perhaps you need to use some pure Python to format the output before you pass it to st.text or others.