Added JSON latents creation
- System automatically creates `.json` latent files alongside voice samples
- Latents are voice characteristics extracted from audio
- Generated on first use of a voice file
- Stored next to original audio (e.g., `broadcaster_male.wav` → `broadcaster_male.json`)
- Improves generation speed for subsequent uses
- No manual management needed
This commit is contained in:
1 parent
11a116f54c
commit
e0621a97d6
1 file changed
+21
-5
@@ -293,6 +293,7 @@ class AllTalkHelpContent:
|
|||||||
- Settings here act as defaults but can be overridden via API parameters
|
- Settings here act as defaults but can be overridden via API parameters
|
||||||
- All changes require clicking "Update Settings" to take effect
|
- All changes require clicking "Update Settings" to take effect
|
||||||
- Some settings require an engine reload to take effect
|
- Some settings require an engine reload to take effect
|
||||||
|
- JSON latent files are automatically created on first run of generation with a voice
|
||||||
"""
|
"""
|
||||||
|
|
||||||
HELP_PAGE = """
|
HELP_PAGE = """
|
||||||
@@ -361,24 +362,39 @@ class AllTalkHelpContent:
|
|||||||
|
|
||||||
## 🗣️ Voice Management
|
## 🗣️ Voice Management
|
||||||
|
|
||||||
### Single Voice Setup (Wav/MP3)
|
### Single Voice Setup
|
||||||
- Place WAV/MP3 files in `/alltalk_tts/voices/`
|
- Place WAV/MP3 files in `/alltalk_tts/voices/`
|
||||||
- Use descriptive filenames (e.g., `broadcaster_male.wav`)
|
- Use descriptive filenames (e.g., `broadcaster_male.wav`)
|
||||||
- Files appear as individual voices in interface
|
- Files appear as individual voices in interface
|
||||||
- Best for quick testing or simple use cases
|
- Best for quick testing or simple use cases
|
||||||
|
|
||||||
### Multi-Voice Sets (Wav/MP3)
|
### Multi-Voice Sets
|
||||||
- Create folders in `/alltalk_tts/voices/xtts_multi_voice_sets/`
|
- Create folders in `/alltalk_tts/voices/xtts_multi_voice_sets/`
|
||||||
- Add multiple samples per voice
|
- Add multiple samples per voice
|
||||||
- System randomly selects up to 5 samples
|
- System randomly selects up to 5 samples
|
||||||
- Better for consistent voice reproduction
|
- Better for consistent voice reproduction
|
||||||
- Example: `/voices/xtts_multi_voice_sets/broadcaster_voice/`
|
- Example: `/voices/xtts_multi_voice_sets/broadcaster_voice/`
|
||||||
|
|
||||||
### Pre-computed Latents (JSON latents)
|
### Pre-computed Latents
|
||||||
- Stored in `/voices/xtts_latents/`
|
- Stored in `/voices/xtts_latents/`
|
||||||
- Faster generation times
|
- Faster generation times
|
||||||
- Reduced memory usage
|
- Reduced memory usage
|
||||||
- Recommended for frequently used voices
|
- Recommended for frequently used voices
|
||||||
|
|
||||||
|
### Automatic Latent Generation
|
||||||
|
- System automatically creates `.json` latent files alongside voice samples
|
||||||
|
- Latents are voice characteristics extracted from audio
|
||||||
|
- Generated on first use of a voice file
|
||||||
|
- Stored next to original audio (e.g., `broadcaster_male.wav` → `broadcaster_male.json`)
|
||||||
|
- Improves generation speed for subsequent uses
|
||||||
|
- No manual management needed
|
||||||
|
|
||||||
|
### Manual Latent Storage
|
||||||
|
- Pre-computed latents can also be stored in `/voices/xtts_latents/`
|
||||||
|
- Useful for organizing frequently used voice profiles
|
||||||
|
- Allows sharing latents without original audio
|
||||||
|
- Same format as automatic latents
|
||||||
|
- Takes priority over local latent files
|
||||||
"""
|
"""
|
||||||
|
|
||||||
HELP_PAGE2 = """
|
HELP_PAGE2 = """
|
||||||
@@ -430,7 +446,7 @@ class AllTalkHelpContent:
|
|||||||
- **Models**: `/alltalk_tts/models/xtts/`
|
- **Models**: `/alltalk_tts/models/xtts/`
|
||||||
- **Voice Samples**: `/alltalk_tts/voices/`
|
- **Voice Samples**: `/alltalk_tts/voices/`
|
||||||
- **Multi-Voice Sets**: `/alltalk_tts/voices/xtts_multi_voice_sets/`
|
- **Multi-Voice Sets**: `/alltalk_tts/voices/xtts_multi_voice_sets/`
|
||||||
- **JSON Latents**: `/alltalk_tts/voices/xtts_latents/`
|
- **Latents**: `/alltalk_tts/voices/xtts_latents/`
|
||||||
- **Outputs**: `/alltalk_tts/outputs/`
|
- **Outputs**: `/alltalk_tts/outputs/`
|
||||||
- Automatic cleanup available
|
- Automatic cleanup available
|
||||||
- Configurable retention period
|
- Configurable retention period
|
||||||
@@ -455,4 +471,4 @@ class AllTalkHelpContent:
|
|||||||
- Test both generation methods
|
- Test both generation methods
|
||||||
- Keep original samples organized
|
- Keep original samples organized
|
||||||
- Regular cleanup of output files
|
- Regular cleanup of output files
|
||||||
"""
|
"""
|
||||||
Reference in new issue
Block a user