MrEzeddin's picture
Upload folder using huggingface_hub
a0effc7 verified
|
Raw
History Blame Contribute Delete
3.15 kB
# AI Chat met verschillende TTS opties
Een complete AI chat applicatie met spraakherkenning en verschillende Text-to-Speech opties.
## 🎯 Aanbevolen: Google TTS
**Bestand**: `ai_chat_gtts.py`
**README**: `README_gtts.md`
**Requirements**: `requirements_gtts.txt`
### βœ… Voordelen:
- Eenvoudig te installeren
- Stabiel met alle Python versies
- Goede Nederlandse stem
- Geen complexe dependencies
```bash
pip install -r requirements_gtts.txt
python ai_chat_gtts.py
```
## πŸš€ Geavanceerd: Edge-TTS
**Bestand**: `ai_chat.py`
**README**: `README.md` (origineel)
**Requirements**: `requirements.txt`
### βœ… Voordelen:
- Hoge kwaliteit stemmen
- Emotie controle
- Microsoft's Edge TTS service
- Real-time streaming
```bash
pip install -r requirements.txt
python ai_chat.py
```
## πŸ”¬ Experimenteel: Chatterbox TTS
**Bestand**: `ai_chat_chatterbox.py`
**Requirements**: `requirements_chatterbox.txt`
### ⚠️ Problemen:
- Niet compatibel met Python 3.13
- Complexe installatie
- Vereist GPU voor optimale prestaties
## πŸ”¬ Experimenteel: Coqui TTS
**Bestand**: `ai_chat_coqui.py`
**Requirements**: `requirements_coqui.txt`
### ⚠️ Problemen:
- Niet compatibel met Python 3.13
- Vereist Python 3.9-3.11
- Complexe installatie
## πŸ“Š Vergelijking
| TTS Library | Installatie | Stabiliteit | Nederlandse stem | Emoties | Offline |
|-------------|-------------|-------------|-------------------|---------|---------|
| **Google TTS** | βœ… Eenvoudig | βœ… Zeer stabiel | βœ… Goed | ❌ | ❌ |
| **Edge-TTS** | βœ… Eenvoudig | βœ… Stabiel | βœ… Zeer goed | βœ… | ❌ |
| **Chatterbox** | ❌ Complex | ❌ Problematisch | βœ… Zeer goed | βœ… | βœ… |
| **Coqui** | ❌ Complex | ❌ Problematisch | βœ… Goed | βœ… | βœ… |
## 🎯 Aanbeveling
Voor de **beste gebruikerservaring** raden we aan:
1. **Beginners**: Google TTS (`ai_chat_gtts.py`)
2. **Geavanceerd**: Edge-TTS (`ai_chat.py`)
3. **Experimenteel**: Chatterbox/Coqui (alleen als je Python 3.9-3.11 hebt)
## πŸš€ Quick Start
### Google TTS (Aanbevolen)
```bash
pip install -r requirements_gtts.txt
python ai_chat_gtts.py
```
### Edge-TTS (Geavanceerd)
```bash
pip install -r requirements.txt
python ai_chat.py
```
## πŸ“ Bestanden overzicht
```
edge-TTS/
β”œβ”€β”€ ai_chat.py # Edge-TTS versie (origineel)
β”œβ”€β”€ ai_chat_gtts.py # Google TTS versie (aanbevolen)
β”œβ”€β”€ ai_chat_chatterbox.py # Chatterbox TTS versie
β”œβ”€β”€ ai_chat_coqui.py # Coqui TTS versie
β”œβ”€β”€ requirements.txt # Edge-TTS dependencies
β”œβ”€β”€ requirements_gtts.txt # Google TTS dependencies
β”œβ”€β”€ requirements_chatterbox.txt # Chatterbox dependencies
β”œβ”€β”€ requirements_coqui.txt # Coqui dependencies
β”œβ”€β”€ README.md # Dit bestand
β”œβ”€β”€ README_gtts.md # Google TTS documentatie
└── README_chatterbox.md # Chatterbox documentatie
```
## 🎀 Features
Alle versies ondersteunen:
- 🎀 Nederlandse spraakherkenning
- πŸ€– Ollama AI integratie
- πŸ”Š Real-time audio zonder opslag
- 🎭 Emotie controle (Edge-TTS)
- 🐌 Langzame spraak voor "AI denkt na"
- 🌍 Nederlandse stemmen