minor fix for finetune_gradio.py

This commit is contained in:
SWivid
2024-10-24 20:58:26 +08:00
parent e78110e1fd
commit da500b5b92

View File

@@ -827,7 +827,6 @@ def infer(file_checkpoint, exp_name, ref_text, ref_audio, gen_text, nfe_step):
else:
device_test = None
device_test = "cpu"
if last_checkpoint != file_checkpoint or last_device != device_test:
if last_checkpoint != file_checkpoint:
last_checkpoint = file_checkpoint