Skip to content

Commit

Permalink
Fix issue with a xml doc string that improperly named a parameter as …
Browse files Browse the repository at this point in the history
…a "stream" when it was, in fact, a byte[]
  • Loading branch information
RealStillkill committed Apr 5, 2024
1 parent 486c9b4 commit 6c52bf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ElevenLabs-DotNet/Voices/VoicesEndpoint.cs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ public async Task<Voice> AddVoiceAsync(string name, IEnumerable<string> samplePa
/// Add a new voice to your collection of voices in VoiceLab from a stream
/// </summary>
/// <param name="name">Name of the voice you want to add.</param>
/// <param name="sampleDatums">Collection of samples as a stream to be used for the new voice</param>
/// <param name="sampleDatums">Collection of samples as an array of bytes to be used for the new voice</param>
/// <param name="labels">Optional, labels for the new voice.</param>
/// <param name="cancellationToken">Optional, <see cref="CancellationToken"/>.</param>
public async Task<Voice> AddVoiceAsync(string name, IEnumerable<byte[]> sampleDatums, IReadOnlyDictionary<string, string> labels = null, CancellationToken cancellationToken = default)
Expand Down

0 comments on commit 6c52bf7

Please sign in to comment.