Update TextGen/coqui.py
Browse files- TextGen/coqui.py +0 -7
TextGen/coqui.py
CHANGED
|
@@ -41,13 +41,6 @@ from huggingface_hub import HfApi
|
|
| 41 |
api = HfApi(token=HF_TOKEN)
|
| 42 |
repo_id = "coqui/xtts"
|
| 43 |
|
| 44 |
-
# Use never ffmpeg binary for Ubuntu20 to use denoising for microphone input
|
| 45 |
-
print("Export newer ffmpeg binary for denoise filter")
|
| 46 |
-
ZipFile("ffmpeg.zip").extractall()
|
| 47 |
-
print("Make ffmpeg binary executable")
|
| 48 |
-
st = os.stat("ffmpeg")
|
| 49 |
-
os.chmod("ffmpeg", st.st_mode | stat.S_IEXEC)
|
| 50 |
-
|
| 51 |
# This will trigger downloading model
|
| 52 |
print("Downloading if not downloaded Coqui XTTS V2")
|
| 53 |
from TTS.utils.manage import ModelManager
|
|
|
|
| 41 |
api = HfApi(token=HF_TOKEN)
|
| 42 |
repo_id = "coqui/xtts"
|
| 43 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
# This will trigger downloading model
|
| 45 |
print("Downloading if not downloaded Coqui XTTS V2")
|
| 46 |
from TTS.utils.manage import ModelManager
|