mirror of
https://github.com/2noise/ChatTTS.git
synced 2026-08-30 17:05:27 +08:00
5b537f3a4d
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
6 lines
116 B
Python
6 lines
116 B
Python
from pydub.utils import which
|
|
|
|
|
|
def has_ffmpeg_installed() -> bool:
|
|
return which("ffmpeg") and which("ffprobe")
|