Skip to content

Commit

Permalink
Merge pull request #850 from BornSaint/main
Browse files Browse the repository at this point in the history
  • Loading branch information
blaisewf authored Oct 29, 2024
2 parents 06d6d87 + f0b2d65 commit e972859
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tabs/inference/inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,14 @@ def change_choices(model):
),
"__type__": "update",
},
{
"choices": (
sorted(speakers)
if speakers is not None and isinstance(speakers, (list, tuple))
else []
),
"__type__": "update",
},
)


Expand Down Expand Up @@ -1981,6 +1989,7 @@ def delay_visible(checkbox):
index_file,
audio,
sid,
sid_batch
],
)
audio.change(
Expand Down

0 comments on commit e972859

Please sign in to comment.