From 808714cfae07f9a3fe2616e443e5e825bbe7317e Mon Sep 17 00:00:00 2001 From: Eric Joanis Date: Tue, 31 Mar 2026 11:20:49 -0400 Subject: [PATCH] perf: tuck away imports not needed to display cli help --- fs2/cli/synthesize.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs2/cli/synthesize.py b/fs2/cli/synthesize.py index 77415f6..6ee03bf 100644 --- a/fs2/cli/synthesize.py +++ b/fs2/cli/synthesize.py @@ -19,7 +19,6 @@ from everyvoice.utils import slugify, spinner from loguru import logger from merge_args import merge_args -from tqdm import tqdm from ..type_definitions import SynthesizeOutputFormats from ..utils import truncate_basename @@ -359,6 +358,8 @@ def synthesize_helper( via the gradio demo. """ + from tqdm import tqdm + from ..dataset import FastSpeech2SynthesisDataModule if (