Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VoiceModel::get_all_modelsをC APIに移動 #649

Merged

Conversation

qryxip
Copy link
Member

@qryxip qryxip commented Oct 17, 2023

内容

FIXMEを一つ解消します。

関連 Issue

その他

Comment on lines -28 to +30
static VOICE_MODEL_SET: Lazy<Mutex<VoiceModelSet>> = Lazy::new(|| {
let all_vvms = RUNTIME.block_on(VoiceModel::get_all_models());
static VOICE_MODEL_SET: Lazy<VoiceModelSet> = Lazy::new(|| {
let all_vvms = RUNTIME.block_on(get_all_models());
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ここはもとからMutexである必要が無かったので、これを機に外す。

Copy link
Member

@Hiroshiba Hiroshiba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!!!

@Hiroshiba Hiroshiba merged commit f8f56ae into VOICEVOX:main Oct 18, 2023
44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants