Skip to content

SillyTavern Extension

erew123 edited this page Sep 30, 2024 · 7 revisions

This section covers the setup process, configuration, and troubleshooting for using AllTalk with SillyTavern.

Basic Setup

  1. Locate the alltalk.js file provided with AllTalk in alltalk_tts\system\SillyTavern Extension\.
  2. Navigate to your SillyTavern installation directory.
  3. Place the alltalk.js file in the following directory:
  • \SillyTavern\public\scripts\extensions\tts\
  1. This will replace the existing alltalk.js file, updating the extension to the latest version.

NOTE: Text-generation-webui users will need to disable the Enable TTS option in TGWUI's chat interface extensions area, otherwise not only will SillyTavern generate TTS, but also TGWUI will generate TTS, resulting in duplicate audio and long strings of numbers being pronounced in the audio.

Configuration

Changing the Default IP Address

If you need to change the default IP address or URL in the SillyTavern interface:

  1. Enter the new address in the provided field.
  2. Press Enter to save the setting.
  3. Important: Simply typing the address without pressing Enter will not save the change.

Available Settings

The AllTalk extension in SillyTavern provides several configurable options:

  • AllTalk TTS Generation Method: Choose between Standard Audio Generation (with optional AT Narrator) and Streaming Audio Generation.
  • AT Narrator: Enable, disable, or set to silent mode.
  • Text Not Inside * or ": Specify how to handle text outside asterisks or quotes.
  • Narrator Voice: Select the voice for narration.
  • Language: Choose the language for TTS generation.
  • RVC Character & RVC Narrator: Select RVC (Retrieval-based Voice Conversion) voices for character and narrator.
  • RVC Character Pitch & RVC Narrator Pitch: Adjust the RVC pitch.
  • Switch Model: Change between different available TTS models.
  • Low VRAM: Toggle Low VRAM mode for better performance on systems with limited VRAM.
  • DeepSpeed: Enable or disable DeepSpeed optimization.

Troubleshooting

If you encounter issues with the AllTalk extension in SillyTavern, you can try the following steps:

  1. Check Settings: Ensure all settings are correctly configured in the SillyTavern interface.

  2. Manual Settings Adjustment:

  • Locate the settings.json file:
    • Older SillyTavern versions: \SillyTavern\public\
    • Newer SillyTavern versions: \SillyTavern\data\default-user\
  • Find the "AllTalk": { section in the file.
  • You can manually edit specific settings or delete the entire AllTalk section.
  1. Reset AllTalk Settings:
  • Delete the entire AllTalk section from "AllTalk": to the closing },
  • Refresh the SillyTavern web page or restart SillyTavern.
  • New default settings for AllTalk will be created.
  1. Verify Extension File:
  • Ensure the alltalk.js file is correctly placed and not corrupted.
  1. Check Console Logs:
  • In SillyTavern open your browser's developer tools (Typically F12 on your keyboard) and check the console for any error messages related to AllTalk.

Best Practices

  • Always backup your settings.json file before making manual changes.
  • After changing settings, refresh the SillyTavern interface to ensure changes take effect.
  • Keep your AllTalk extension up to date by replacing the alltalk.js file when new versions are released.
  • If using RVC voices or pitch control, experiment with different settings to achieve the desired voice quality.

Additional Notes

  • The AllTalk extension settings are managed and saved by SillyTavern, not by the AllTalk extension itself. As such, things like the voice that maps to your character card, are stored in SillTaverns settings.json file.
  • If you're using Text-generation-webui alongside SillyTavern and AllTalk, make sure to disable the Enable TTS option in the Text-generation-webui interface to avoid duplicate TTS generation.
Clone this wiki locally