Can I insert a custom favicon into the st.title?

Pre-Requisites

  • Locally Ran
  • Python 3.11.4, Streamlit 1.28.1

Right now, I am using the following title in st.title:
st.title(“:speech_balloon: Sage Assistant”)

As you can see, it uses the chat emoji. Is there a way to use a favicon in that place instead? I’ve tried copying and pasting and even inserting the image.

im = Image.open("sample.ico")
st.title(im + " Sage Assistant")

I think for obvious reasons that wouldn’t work. (It didn’t). What’s the approach to getting this to work?