Skip to content

SillyTavern Extension

erew123 edited this page Dec 1, 2024 · 7 revisions

The new SillyTavern extension will work with both AllTalk V1 and AllTalk V2. You just need to select the correct AllTalk server version in the SillyTavern interface.

If you had previously manually updated the AllTalk extension with SillyTavern and now have an update issue, please see the 4th item down here on ST's latest release to resolve https://github.com/SillyTavern/SillyTavern/releases/tag/1.12.8

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.

Be sure to select the correct AllTalk server version in the interface, otherwise you may get errors and no audio in the SillyTavern interface.

Available Settings

The AllTalk extension in SillyTavern provides several configurable options:

  • AllTalk Server Version: Choose the correct version of AllTalk server you are running, V1 or V2.
  • 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