File size: 331 Bytes
68a11d5
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
import os
import torch

os.system("git clone --branch v3.1 https://github.com/DigitalPhonetics/IMS-Toucan.git toucan_codebase")
os.system("mv toucan_codebase/* .")

from run_model_downloader import download_models
from run_GUI_demo import TTSWebUI

download_models()
TTSWebUI(gpu_id="cuda" if torch.cuda.is_available() else "cpu")