WebUI Dropdown Index out of range #123

Closed
opened 2023-03-12 17:10:57 +00:00 by Xiao · 2 comments

https://git.ecker.tech/mrq/ai-voice-cloning/src/branch/master/src/webui.py#L496

When running the repo for the first time (only .gitkeep in training dir), the training_list array is empty so the default chosen option in this training_configs Dropdown causes an Index out of Range error, and the app can't be started.

https://git.ecker.tech/mrq/ai-voice-cloning/src/branch/master/src/webui.py#L496 When running the repo for the first time (only .gitkeep in training dir), the `training_list` array is empty so the default chosen option in this `training_configs` Dropdown causes an Index out of Range error, and the app can't be started.
Contributor

Added a pr. #124

Added a pr. https://git.ecker.tech/mrq/ai-voice-cloning/pulls/124
Owner

Fixed in commit ccbf2e6aff. Serves me right for blindly accepting a PR for once.

Fixed in commit ccbf2e6affd76e1f2e3e06e9c7ac27cd81e8e0e8. Serves me right for blindly accepting a PR for once.
mrq closed this issue 2023-03-12 18:01:21 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mrq/ai-voice-cloning#123
No description provided.