Spaces:
Runtime error
Runtime error
update for faster inference
Browse files
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}")
|