Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
zhengr
/
ChatTTS
like
0
Sleeping
App
Files
Files
Community
main
ChatTTS
/
tools
/
audio
/
ffmpeg.py
zhengr
init
c02bdcd
about 2 months ago
raw
Copy download link
history
blame
contribute
delete
Safe
116 Bytes
from
pydub.utils
import
which
def
has_ffmpeg_installed
() ->
bool
:
return
which(
"ffmpeg"
)
and
which(
"ffprobe"
)