Google Colab Guide
Google Colab provides a convenient way to use Applio without needing a powerful local computer. However, it’s important to be aware of the risks and limitations.
Getting Started with the Applio UI Colab
Section titled “Getting Started with the Applio UI Colab”If you choose to proceed with the UI version, here’s how to get it running.
- Open the Colab Notebook: Launch the Applio UI Colab Notebook.
- Install Applio: Run the first cell, labeled “Install Applio,” by clicking the play button. This will install Applio and all its dependencies.
- Launch the Interface: Run the second cell. This will launch the Applio interface and provide you with a URL to access it. We recommend using the
localtunnelsharing method for a more stable connection. - Access the UI: Open the provided URL. You will be prompted for a password, which is the IP address displayed in the Colab cell output.

Training on Colab
Section titled “Training on Colab”Training models on Colab requires a bit of extra setup to ensure you don’t lose your progress.
Syncing with Google Drive
Section titled “Syncing with Google Drive”We highly recommend syncing your Colab instance with Google Drive. This will save your trained models to a folder called ApplioBackup in your Google Drive and allow you to resume training from a previously saved model.
To do this, run the Sync with Google Drive cell in the Colab notebook.

Resuming Training
Section titled “Resuming Training”To resume training a model that you’ve previously saved to Google Drive:
- Run all the initial cells, including Install Applio and Sync with Google Drive.
- In the Applio UI, go to the Train tab.
- Enter the name of your model.
- Select the same sample rate you used previously.
- Load your custom pretrained model if you used one.
- Increase the number of epochs and click Train to continue training.
Managing Models on Colab
Section titled “Managing Models on Colab”Exporting Your Final Model
Section titled “Exporting Your Final Model”Once your model is fully trained, you can export it to your Google Drive.
- Go to the Train tab and click the Export Model sub-tab.
- Click the Refresh button.
- Select the
.pthand.indexfiles for your model. - Click the Upload button. Your model will be saved to a folder named
ApplioExportedin your Google Drive.
Keeping Colab Active
Section titled “Keeping Colab Active”Google Colab will automatically disconnect idle notebooks. To prevent this from happening during a long training session, you can run a small script in your browser’s developer console.
- Press
Ctrl + Shift + ito open the developer tools. - Go to the Console tab.
- Type
Allow pastingand press Enter. - Paste the following code into the console and press Enter:
function ClickConnect() {var iconElement = document.getElementById("toggle-header-button");if (iconElement) {var clickEvent = new MouseEvent("click", {bubbles: true,cancelable: true,view: window,});iconElement.dispatchEvent(clickEvent);}}setInterval(ClickConnect, 60000);
This script will simulate a click every minute, keeping your Colab session active.