Xtiphyn commited on
Commit
ef89132
·
verified ·
1 Parent(s): 5b3c737

update for faster inference

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -210,7 +210,7 @@ with gr.Blocks(title="VoiceCore TTS — Fast") as iface:
210
  @torch.inference_mode()
211
  def _warmup():
212
  try:
213
- _ = generate_voice("matsukaze_male", "hello", max_new_tokens=128)
214
  logging.info("Warm-up generation completed")
215
  except Exception as e:
216
  logging.info(f"Warm-up skipped/failed: {e}")
 
210
  @torch.inference_mode()
211
  def _warmup():
212
  try:
213
+ _ = generate_voice("matsukaze_male", "hello world", max_new_tokens=128)
214
  logging.info("Warm-up generation completed")
215
  except Exception as e:
216
  logging.info(f"Warm-up skipped/failed: {e}")