I am new to Streamlit and so far I find this to be a very cool tool for making UI’s quickly. I came across the annotated_text feature which allows users to highlight key words. I am not sure how to display the annotated text in a text window. For example, I can display the message, "Hello World! in a text box window by doing the following:
But when I use the annotated_text feature to highlight for example a keyword I get a 'None" message in the window instead of the annotated text. I appreciate any help in solving this. Thanks!
import streamlit as st
from annotated_text import annotated_text