Update tts.py
Browse files
tts.py
CHANGED
@@ -4,7 +4,7 @@ import soundfile as sf
|
|
4 |
import torch
|
5 |
import os
|
6 |
|
7 |
-
class
|
8 |
def __init__(self, model_path, device):
|
9 |
config = load_config(os.path.join(model_path, "config.json"))
|
10 |
self.model = setup_tts_model(config)
|
|
|
4 |
import torch
|
5 |
import os
|
6 |
|
7 |
+
class TTS_object(object):
|
8 |
def __init__(self, model_path, device):
|
9 |
config = load_config(os.path.join(model_path, "config.json"))
|
10 |
self.model = setup_tts_model(config)
|