Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenHodgson committed Sep 2, 2024
1 parent db49ba8 commit 1f38b03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ElevenLabs-DotNet-Tests/TestFixture_08_DubbingEndpoint.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public async Task Test_01_Dubbing_File()
Assert.NotNull(ElevenLabsClient.DubbingEndpoint);
var filePath = Path.GetFullPath("../../../Assets/test_sample_01.ogg");
var request = new DubbingRequest(filePath, "es", "en", 1);
var response = await ElevenLabsClient.DubbingEndpoint.StartDubbingAsync(request);
var response = await ElevenLabsClient.DubbingEndpoint.DubAsync(request);
Assert.IsFalse(string.IsNullOrEmpty(response.DubbingId));
Assert.IsTrue(response.ExpectedDurationSeconds > 0);
Console.WriteLine($"Expected Duration: {response.ExpectedDurationSeconds:0.00} seconds");
Expand Down Expand Up @@ -52,7 +52,7 @@ public async Task Test_02_Dubbing_Url()

var uri = new Uri("https://youtu.be/Zo5-rhYOlNk");
var request = new DubbingRequest(uri, "ja", "en", 1, true);
var response = await ElevenLabsClient.DubbingEndpoint.StartDubbingAsync(request);
var response = await ElevenLabsClient.DubbingEndpoint.DubAsync(request);
Assert.IsFalse(string.IsNullOrEmpty(response.DubbingId));
Assert.IsTrue(response.ExpectedDurationSeconds > 0);
Console.WriteLine($"Expected Duration: {response.ExpectedDurationSeconds:0.00} seconds");
Expand Down

0 comments on commit 1f38b03

Please sign in to comment.