African Health Studio is a real-time conversational mental health support platform designed for Africa, providing accessible, compassionate, and culturally aware assistance. The system enables natural voice-based interactions through a web application.
TypeScript
0
5 commits
updated Dec 6, 2025
Mental health support platform for Africa - accessible, compassionate, and culturally aware.
A real-time conversational audio system using Audio Flamingo 3 for audio reasoning and Afro-TTS for speech synthesis.
uv package managerInstall all dependencies (AF3 + TTS):
uv sync --all-extras
Or install specific groups:
# Only AF3 dependencies
uv sync --extra af3
# Only TTS dependencies
uv sync --extra tts
# Both
uv sync --extra af3 --extra tts
See ENVIRONMENT_SETUP.md for detailed dependency group information.
backend/config.py to set paths:
AUDIO_FLAMINGO_MODEL_PATHAFRO_TTS_CONFIG_PATH, AFRO_TTS_CHECKPOINT_DIR, AFRO_TTS_SPEAKER_WAVStart the backend server:
bash run_server.sh
Start the Next.js frontend:
cd frontend-next
npm run dev
See HIPERGATOR_SETUP.md for detailed instructions on running with GPU.
Quick commands:
bash run_server_interactive.shsbatch run_server.slurmPipeline: Web App Mic Audio → AF3 (audio→text reasoning) → Afro-TTS (text→voice)
data/audio/sessions/For detailed backend architecture, see backend/BACKEND_ARCHITECTURE.md.
├── backend/
│ ├── app/
│ │ ├── server.py # FastAPI server
│ │ └── services/
│ │ ├── af3_inference.py # Audio Flamingo 3
│ │ ├── tts_inference.py # Afro-TTS
│ │ └── audio_converter.py # WebM to WAV
│ └── config.py # Configuration
├── frontend-next/ # Next.js frontend
├── scripts/ # Utility scripts
└── run_server.slurm # SLURM batch script
Model paths are configured in backend/config.py:
AUDIO_FLAMINGO_MODEL_PATH: Path to Audio Flamingo 3 modelAFRO_TTS_CONFIG_PATH: Path to Afro-TTS config.jsonAFRO_TTS_CHECKPOINT_DIR: Path to Afro-TTS checkpoint directoryAFRO_TTS_SPEAKER_WAV: Path to speaker reference audio (6 seconds)The system uses:
See backend/BACKEND_ARCHITECTURE.md for detailed technical documentation.
African Health Studio is a real-time conversational mental health support platform designed for Africa, providing accessible, compassionate, and culturally aware assistance. The system enables natural voice-based interactions through a web application.
TypeScript
0
5 commits
updated Dec 6, 2025
Mental health support platform for Africa - accessible, compassionate, and culturally aware.
A real-time conversational audio system using Audio Flamingo 3 for audio reasoning and Afro-TTS for speech synthesis.
uv package managerInstall all dependencies (AF3 + TTS):
uv sync --all-extras
Or install specific groups:
# Only AF3 dependencies
uv sync --extra af3
# Only TTS dependencies
uv sync --extra tts
# Both
uv sync --extra af3 --extra tts
See ENVIRONMENT_SETUP.md for detailed dependency group information.
backend/config.py to set paths:
AUDIO_FLAMINGO_MODEL_PATHAFRO_TTS_CONFIG_PATH, AFRO_TTS_CHECKPOINT_DIR, AFRO_TTS_SPEAKER_WAVStart the backend server:
bash run_server.sh
Start the Next.js frontend:
cd frontend-next
npm run dev
See HIPERGATOR_SETUP.md for detailed instructions on running with GPU.
Quick commands:
bash run_server_interactive.shsbatch run_server.slurmPipeline: Web App Mic Audio → AF3 (audio→text reasoning) → Afro-TTS (text→voice)
data/audio/sessions/For detailed backend architecture, see backend/BACKEND_ARCHITECTURE.md.
├── backend/
│ ├── app/
│ │ ├── server.py # FastAPI server
│ │ └── services/
│ │ ├── af3_inference.py # Audio Flamingo 3
│ │ ├── tts_inference.py # Afro-TTS
│ │ └── audio_converter.py # WebM to WAV
│ └── config.py # Configuration
├── frontend-next/ # Next.js frontend
├── scripts/ # Utility scripts
└── run_server.slurm # SLURM batch script
Model paths are configured in backend/config.py:
AUDIO_FLAMINGO_MODEL_PATH: Path to Audio Flamingo 3 modelAFRO_TTS_CONFIG_PATH: Path to Afro-TTS config.jsonAFRO_TTS_CHECKPOINT_DIR: Path to Afro-TTS checkpoint directoryAFRO_TTS_SPEAKER_WAV: Path to speaker reference audio (6 seconds)The system uses:
See backend/BACKEND_ARCHITECTURE.md for detailed technical documentation.