Add save progress UI and fix MMS errors

Show a progress bar during MP3 generation, update styles, and improve MMS error messaging.
This commit is contained in:
dsyoon
2026-01-30 19:01:24 +09:00
parent 39387a0544
commit c40fa33e7b
5 changed files with 70 additions and 1 deletions

View File

@@ -32,6 +32,10 @@ def _get_mms():
def _text_to_wav_mms(text: str, wav_path: str) -> None:
try:
import torch
except Exception as exc:
raise RuntimeError("MMS TTS 사용을 위해 torch/numpy가 정상 설치되어야 합니다.") from exc
try:
import soundfile as sf
except Exception as exc:
raise RuntimeError("MMS TTS 사용을 위해 soundfile 설치가 필요합니다.") from exc