Please help me improve my Streamlit code

Hello all,
I created a simple streamlit app that does basic text analysis and I deployed it on huggingface spaces. Please check my code and tell me how I can improve the code.
here is the link to the code:

Thank you.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.