From 27d98a52cd0ab1145c540eb8c1512a0f6def4832 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 1 Nov 2024 12:08:47 +0200 Subject: [PATCH] clear pipe --- src/f5_tts/train/finetune_gradio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: