diff --git a/src/f5_tts/train/finetune_gradio.py b/src/f5_tts/train/finetune_gradio.py index f37fb8603..beb509a83 100644 --- a/src/f5_tts/train/finetune_gradio.py +++ b/src/f5_tts/train/finetune_gradio.py @@ -390,7 +390,7 @@ def start_training( stream=False, logger="wandb", ): - global training_process, tts_api, stop_signal + global training_process, tts_api, stop_signal, pipe if tts_api is not None or pipe is not None: if tts_api is not None: