TFIDF Cache

Hello, Is there a way to cache tf-idf vector in streamlit ?

Hi @dkamalakar -

There almost certainly is. What have you tried so far?

Best,
Randy

got sidetracked by other tasks. I will revisit this topic, but wanted to see if you have any recommendation ? I tried to just use plain @st.cache(allow_ouput_mutation=True) but it did not work. Will explore few options, but please let me know what recommendation you have ?

Thanks