This application provides real-time transcription, translation, and text-to-speech synthesis for healthcare communication.
- Transcription: Converts spoken words into text using Whisper AI.
- Translation: Translates transcribed text into multiple languages using M2M100.
- Text-to-Speech (TTS): Converts translated text into speech using Coqui TTS.
git clone https://github.com/SudaisAlam/HealthCare-Translation-Web_App.git
cd HealthCare-Translation-Web_Apppython -m venv venv
source venv/bin/activate # On Windows use: venv\Scripts\activatepip install -r requirements.txtuvicorn main:app --host localhost --port 8000 --reload| Endpoint | Method | Description |
|---|---|---|
/translate |
POST | Translate text from one language to another |
/transcribe |
POST | Transcribe an audio file to text |
/synthesize |
POST | Convert text to speech |
- FastAPI
- Whisper
- Transformers (M2M100)
- Coqui TTS
- Torch
- Soundfile
Enjoy using the Healthcare Translation App! π