Spaces:
Running
on
T4
Running
on
T4
Update InferenceInterfaces/ToucanTTSInterface.py
Browse files
InferenceInterfaces/ToucanTTSInterface.py
CHANGED
|
@@ -18,7 +18,7 @@ from Preprocessing.TextFrontend import get_language_id
|
|
| 18 |
from Utility.storage_config import MODELS_DIR
|
| 19 |
from Utility.utils import cumsum_durations
|
| 20 |
from Utility.utils import float2pcm
|
| 21 |
-
|
| 22 |
|
| 23 |
class ToucanTTSInterface(torch.nn.Module):
|
| 24 |
|
|
|
|
| 18 |
from Utility.storage_config import MODELS_DIR
|
| 19 |
from Utility.utils import cumsum_durations
|
| 20 |
from Utility.utils import float2pcm
|
| 21 |
+
from huggingface_hub import hf_hub_download
|
| 22 |
|
| 23 |
class ToucanTTSInterface(torch.nn.Module):
|
| 24 |
|