Spaces:
Paused
Paused
Enable torch.compile for TTS
Browse files- tts_service.py +1 -1
tts_service.py
CHANGED
@@ -11,7 +11,7 @@ class WhisperSpeechTTS:
|
|
11 |
pass
|
12 |
|
13 |
def initialize_model(self):
|
14 |
-
self.pipe = Pipeline(s2a_ref='collabora/whisperspeech:s2a-q4-tiny-en+pl.model')
|
15 |
self.last_llm_response = None
|
16 |
|
17 |
def run(self, host, port, audio_queue=None):
|
|
|
11 |
pass
|
12 |
|
13 |
def initialize_model(self):
|
14 |
+
self.pipe = Pipeline(s2a_ref='collabora/whisperspeech:s2a-q4-tiny-en+pl.model', torch_compile=True)
|
15 |
self.last_llm_response = None
|
16 |
|
17 |
def run(self, host, port, audio_queue=None):
|