Spaces:
Running
on
T4
Running
on
T4
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") | |