Spaces:
Paused
Paused
Agree license
Browse files
xtts.py
CHANGED
|
@@ -13,7 +13,7 @@ from TTS.tts.models.xtts import Xtts
|
|
| 13 |
from TTS.utils.generic_utils import get_user_data_dir
|
| 14 |
from TTS.utils.manage import ModelManager
|
| 15 |
|
| 16 |
-
os.environ["COQUI_TOS_AGREED"] = 1
|
| 17 |
|
| 18 |
torch.set_num_threads(int(os.environ.get("NUM_THREADS", os.cpu_count())))
|
| 19 |
device = torch.device("cuda" if os.environ.get("USE_CPU", "0") == "0" else "cpu")
|
|
|
|
| 13 |
from TTS.utils.generic_utils import get_user_data_dir
|
| 14 |
from TTS.utils.manage import ModelManager
|
| 15 |
|
| 16 |
+
os.environ["COQUI_TOS_AGREED"] = "1"
|
| 17 |
|
| 18 |
torch.set_num_threads(int(os.environ.get("NUM_THREADS", os.cpu_count())))
|
| 19 |
device = torch.device("cuda" if os.environ.get("USE_CPU", "0") == "0" else "cpu")
|