bla commited on
Commit
66e0c56
·
verified ·
1 Parent(s): 1d7e39d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
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
- @spaces.GPU(duration=120)
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,