From 541e45263c3ec40a8b17d9645ebc35f352653f67 Mon Sep 17 00:00:00 2001 From: mrq Date: Sat, 12 Oct 2024 11:29:16 -0500 Subject: [PATCH] ugh --- vall_e/demo.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vall_e/demo.py b/vall_e/demo.py index 9b93bda..9a0f557 100644 --- a/vall_e/demo.py +++ b/vall_e/demo.py @@ -244,15 +244,15 @@ def main(): tqdm=False, ) - def safe_inference(): + def safe_inference( out_path=out_path ): try: - tts.inference( out_path=out_path_comparison, **kwargs ) + tts.inference( out_path=out_path, **kwargs ) except Exception as e: print(f'Error while processing {out_path}: {e}') if comparison_kwargs["enabled"]: kwargs.update( comparison_kwargs["before"] ) - safe_inference() + safe_inference(out_path_comparison) kwargs.update( comparison_kwargs["after"] ) safe_inference()