SOTA Open Source TTS
Apple's MPS backend support (#259)
Jason Wong6b4d5c86bcfe
diff --git a/tools/webui.py b/tools/webui.pyindex 0571fd7..c4e3376 100644--- a/tools/webui.py+++ b/tools/webui.py@@ -131,7 +131,12 @@ def inference()with torch.autocast(- device_type=decoder_model.device.type, dtype=args.precision+ device_type=(+ "cpu"+ if decoder_model.device.type == "mps"+ else decoder_model.device.type+ ),+ dtype=args.precision,):fake_audios = decode_vq_tokens(decoder_model=decoder_model,