Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -210,7 +210,6 @@ def normalize_text(transcript: str):
|
|
210 |
return transcript
|
211 |
|
212 |
|
213 |
-
@spaces.GPU
|
214 |
def initialize_engine(model_path, audio_tokenizer_path) -> bool:
|
215 |
"""Initialize the HiggsAudioServeEngine."""
|
216 |
global engine
|
@@ -286,7 +285,7 @@ def prepare_chatml_sample(
|
|
286 |
return ChatMLSample(messages=messages)
|
287 |
|
288 |
|
289 |
-
|
290 |
def text_to_speech(
|
291 |
text,
|
292 |
voice_preset,
|
|
|
210 |
return transcript
|
211 |
|
212 |
|
|
|
213 |
def initialize_engine(model_path, audio_tokenizer_path) -> bool:
|
214 |
"""Initialize the HiggsAudioServeEngine."""
|
215 |
global engine
|
|
|
285 |
return ChatMLSample(messages=messages)
|
286 |
|
287 |
|
288 |
+
|
289 |
def text_to_speech(
|
290 |
text,
|
291 |
voice_preset,
|