--- title: Nlp Ai Assistant emoji: 📉 colorFrom: gray colorTo: red sdk: gradio sdk_version: 5.37.0 app_file: app.py pinned: false license: mit short_description: Sentiment, NER, and translation using Transformers. --- --- title: Mini NLP AI Assistant emoji: 🤖 colorFrom: blue colorTo: indigo sdk: gradio app_file: app.py --- # 🤖 Mini NLP AI Assistant A lightweight NLP app that performs: - 🧠 Sentiment Analysis - 🔍 Named Entity Recognition (NER) - 🌍 Translation (English to Hindi or French) Built using Hugging Face Transformers and Gradio. ## 🚀 How to Use 1. Enter an English sentence. 2. Choose a translation language (Hindi or French). 3. View sentiment, named entities, and translated sentence. ### 🧪 Example **Input:** "Narendra Modi visited Paris in 2023." **Output:** - Sentiment: POSITIVE - Named Entities: Narendra Modi (PER), Paris (LOC), 2023 (DATE) - Translation (Hindi): नरेंद्र मोदी ने 2023 में पेरिस का दौरा किया। --- 👩‍💻 Built by **Sonia** Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference