Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
zhengr
/
ChatTTS2
like
0
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
3a23ff1
ChatTTS2
/
tools
/
audio
/
ffmpeg.py
zhengr
init
c02bdcd
8 months ago
raw
Copy download link
history
blame
Safe
Wrap lines
116 Bytes
from
pydub.utils
import
which
def
has_ffmpeg_installed
() ->
bool
:
return
which(
"ffmpeg"
)
and
which(
"ffprobe"
)