--- title: Serenity chatbot 4.5 sdk: gradio emoji: โšก colorFrom: indigo colorTo: purple pinned: false --- ๐ŸŒธ Serenity โ€” Your Emotional Support Chatbot > A safe, soothing space where you can talk freely. Serenity listens, understands, and supports you โ€” emotionally, mentally, and spiritually โ€” whenever you need someone by your side. --- ๐Ÿ’ฌ What Serenity Can Do ๐Ÿชท Emotional Support: Serenity listens to your feelings and responds with empathy, validation, and warmth โ€” not robotic sympathy. ๐Ÿง  Intelligent Conversation: Serenity adapts to your tone โ€” calm when youโ€™re sad, cheerful when youโ€™re happy, deep when youโ€™re reflective. ๐Ÿ’› Follow-up Memory: If you felt low recently, Serenity remembers (for 10โ€“15 days) and checks on you gently next time. ๐ŸŽ™๏ธ Multiple Voices: Choose from 8 calming voices (male/female/neutral) โ€” from deep and soothing to soft and nurturing. ๐ŸŒ€ Avatar Animation: A gentle, breathing avatar reacts as you talk โ€” creating a peaceful, human-like experience. ๐ŸŒˆ Dynamic Colors: The interface changes between soft, calming hues for variety and comfort. --- ๐Ÿ› ๏ธ Tech Stack Component Technology Frontend HTML, CSS, JS (voice + emotion + avatar UI) Backend Flask + OpenAI API AI Model GPT-4-turbo / GPT-4o Emotion Analysis DistilRoBERTa (via Transformers) Voice gTTS (text-to-speech) Hosting Hugging Face Spaces --- โš™๏ธ Environment Variables In your Hugging Face Space โ†’ Settings โ†’ Repository Secrets, add: Variable Example Description OPENAI_API_KEY sk-xxxxxx Your OpenAI API key (required) ----๐Ÿงญ Personality Modes You can switch between personalities during chat: ๐ŸŒฟ Serene Listener โ€” calm, slow, deeply empathetic ๐ŸŒž Uplifting Friend โ€” cheerful, hopeful, talkative ๐ŸŒ™ Reflective Soul โ€” poetic, wise, deeply comforting ๐ŸŒบ Gentle Mentor โ€” spiritual, compassionate, thoughtful Each personality has unique tone, phrasing, and energy. --- โš ๏ธ Mental Health Note Serenity is here to support you emotionally, not replace professional help. If you are in crisis or feel unsafe, please reach out for immediate help: ๐Ÿ“ž International Helplines: ๐Ÿ‡บ๐Ÿ‡ธ US: 988 (Suicide & Crisis Lifeline) ๐Ÿ‡ฌ๐Ÿ‡ง UK: Samaritans โ€“ 116 123 ๐Ÿ‡ฎ๐Ÿ‡ณ India: AASRA โ€“ 91-9820466726 ๐ŸŒ Find your local helpline here, anytime. --- ๐Ÿ’– Created With Love Built to make the world a little kinder, one chat at a time. Made by ๐Ÿ’› you โ€” powered by OpenAI, Flask, and Hugging Face Spaces.