Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
EX3exp committed Sep 27, 2024
1 parent aafd7fd commit 3472c25
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Mirivoice/Views/VoicersStyleBox.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,17 @@ public async void OnSamplePlayButtonClick(object sender, RoutedEventArgs e)
if (File.Exists(cachePath))
{
isPlaying = true;
v.PlayAudio(cachePath);
return;
}
if (voicer != null)
{
isPlaying = true;
string ipa = await phonemizer.ConvertToIPA(phrase, DispatcherPriority.ApplicationIdle);
voicer.Inference(ipa, cachePath, null, sid);
v.PlayAudio(cachePath);
return;
}
v.PlayAudio(cachePath);

}
}

0 comments on commit 3472c25

Please sign in to comment.