Skip to content

Commit

Permalink
fix QueryTextToSpeechVoices
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Oct 15, 2024
1 parent c00fa30 commit eed5e65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AiServer.ServiceInterface/MediaProviderServices.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public object Any(QueryTextToSpeechVoices request)
.Where(x => x != null)
.Select(x => x!)
.Distinct();
response.Results.RemoveAll(x => activeModels.Contains(x.Model));
response.Results.RemoveAll(x => !activeModels.Contains(x.Model));
return response;
}

Expand Down

0 comments on commit eed5e65

Please sign in to comment.