Files
ChatTTS/tools/audio/ffmpeg.py
T
github-actions[bot] 5b537f3a4d chore(format): run black on main (#494)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-28 21:11:09 +09:00

6 lines
116 B
Python

from pydub.utils import which
def has_ffmpeg_installed() -> bool:
return which("ffmpeg") and which("ffprobe")