Skip to content

Commit

Permalink
🐛 fix webui speaker_editor missing describe
Browse files Browse the repository at this point in the history
  • Loading branch information
zhzLuke96 committed Jun 17, 2024
1 parent 0bb4dd7 commit 2a2a36d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/webui/speaker/speaker_editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def on_generate(spk_file, name, gender, desc):
spk: Speaker = Speaker.from_file(spk_file)
spk.name = name
spk.gender = gender
spk.desc = desc
spk.describe = desc

with tempfile.NamedTemporaryFile(delete=False, suffix=".pt") as tmp_file:
torch.save(spk, tmp_file)
Expand Down

0 comments on commit 2a2a36d

Please sign in to comment.