Skip to content

Google COLAB

erew123 edited this page Sep 30, 2024 · 1 revision

This guide will help you set up and run AllTalk TTS on Google Colab without needing to install anything on your local machine.

Setup Instructions

  1. Access the AllTalk TTS Colab Notebook

  2. Sign in to Google

    • If you're not already signed in, you'll be prompted to sign in to your Google account.
    • If you don't have a Google account, you'll need to create one to use Google Colab.
  3. Save a Copy to Your Google Drive

    • Once the notebook is open in Colab, go to "File" > "Save a copy in Drive".
    • This creates a copy of the notebook in your Google Drive, allowing you to run and modify it.

Running AllTalk TTS

  1. Install Server Requirements

    • In the Colab notebook, find the cell titled "Install Server Requirements".
    • Read the instructions and options carefully.
    • Run this cell by clicking the play button on the left or pressing Shift+Enter.
    • This process will take 5-10 minutes to complete.
  2. Start AllTalk TTS Server

    • After the requirements are installed, find the cell titled "Start AllTalk TTS Server".
    • Run this cell to start the AllTalk API and Gradio Web interface.
    • The cell will output URLs for accessing the API and interface.
  3. Using the AllTalk Interface

    • Use the provided URL to access the AllTalk Gradio interface.
    • From here, you can download models, generate TTS, and configure settings.
  4. API Usage

    • The AllTalk API address provided can be used with external applications like Kobold, SillyTavern, or TGWUI's Remote extension for TTS generation.
  5. Optional: XTTS Model Finetuning

    • If you want to finetune XTTS models, find and run the "Start XTTS model Finetuning" cell.
    • This will provide a separate URL for the finetuning interface.

Important Notes

  • The Colab runtime may disconnect after periods of inactivity. You may need to rerun cells if this happens.
  • For long-running tasks, consider using Colab Pro or a local installation for more stability.
  • Always check the AllTalk TTS GitHub repository for the most up-to-date version of the Colab notebook and any additional instructions.
  • This notebook requires a GPU runtime. If you're not allocated a GPU, you may need to try again later or consider using Colab Pro for more consistent GPU access.
Clone this wiki locally