Spaces:
Sleeping
Sleeping
| title: OMANI-Chatbot | |
| emoji: ๐ป | |
| colorFrom: blue | |
| colorTo: blue | |
| sdk: streamlit | |
| sdk_version: 1.50.0 | |
| app_file: OMANI-Chatbot.py | |
| pinned: false | |
| license: mit | |
| # README.md | |
| # ๐ด๐ฒ OMANI-Chatbot | |
| OMANI-Chatbot is a mental healthโfocused conversational assistant designed to provide supportive dialogue, intent recognition, and safe responses. | |
| It integrates **speech-to-text (STT)**, **text-to-speech (TTS)**, **retrieval-augmented generation (RAG)**, and **emotion detection** into a single pipeline. | |
| --- | |
| ## ๐ Project Structure | |
| ``` | |
| OMANI-Chatbot.py # Main entrypoint | |
| app/ # Core application logic | |
| data/ # Knowledge base + Chroma vector database | |
| documentation/ # Architecture diagrams and reports | |
| tests/ # Unit tests, audio samples, transcripts | |
| requirements.txt # Python dependencies | |
| ```` | |
| --- | |
| ## โ๏ธ Setup & Installation | |
| ### 1. Clone the repository | |
| ```bash | |
| git clone https://github.com/russelljeffrey/Omani-therapist-voice.git | |
| ```` | |
| ### 2. Create virtual environment & install dependencies | |
| ```bash | |
| python3 -m venv venv | |
| source venv/bin/activate | |
| pip install -r requirements.txt | |
| ``` | |
| --- | |
| ## ๐ Running the Project | |
| ### Option A: Run Locally | |
| ```bash | |
| streamlit run OMANI-Chatbot.py | |
| ``` | |
| By default, the Streamlit UI will launch on **[http://localhost:8501](http://localhost:8501)** | |
| --- | |
| ### Option B: Run with Docker | |
| 1. Build the Docker image: | |
| ```bash | |
| docker build -t omani-chatbot . | |
| ``` | |
| 2. Run the container: | |
| ```bash | |
| docker run -p 8501:8501 omani-chatbot | |
| ``` | |
| Open your browser at **[http://localhost:8501](http://localhost:8501)** to use the chatbot. | |
| --- | |
| ## ๐ Documentation | |
| See the `documentation/` folder for: | |
| * `architecture.md` โ System overview | |
| * `safety_protocol.md` โ Safety design | |
| * `future_roadmap.md` โ Planned improvements | |
| * `wer_report.md` โ Performance metrics | |
| --- | |
| ## ๐งช Testing | |
| Run the tests with: | |
| ```bash | |
| python -m pytest -s -v tests/ | |
| ``` | |
| --- | |
| ## ๐ก๏ธ Safety Note | |
| This project is for **demo purposes**. | |
| It is **not a substitute for professional mental health care**. If someone is in crisis, they should seek immediate professional support. | |
| --- |