Mueed96/LinguaLens-NLP-Platform — reverse-engineered prompt
Reverse engineered prompt
Build me a Streamlit web app called LinguaLens for analyzing news articles in different languages.
I want a clean interactive page where a user can choose how to add an article, by pasting text, entering a live article URL, uploading a txt or pdf file, or reading from an RSS feed. After the article is loaded, the app should automatically detect the language, create a short clear summary, and show whether the overall sentiment is positive, negative, or neutral.
Also show useful stats like word count, character count, how much shorter the summary is compared to the original, and how long the analysis took. Make it feel polished and easy for a normal person to use, with helpful messages if something fails or there isn’t enough text.
Use Python and Streamlit, with Hugging Face models for multilingual summarization and sentiment. Cache the models so the app doesn’t reload them every time. Look up current docs online if you need to.
Want more depth? Deep Reverse