Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Layoric committed Nov 13, 2024
1 parent 117da35 commit 28901a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions AiServer.Tests/QueueSpeechToTextTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public async Task Can_queue_transcribe_speech()

try
{
response = client.PostFilesWithRequest(
response = client.PostFilesWithRequest<QueueGenerationResponse>(
new QueueSpeechToText(),
[new UploadFile("speech.wav", fileStream) { FieldName = "audio"}]);
}
Expand Down Expand Up @@ -57,7 +57,7 @@ public async Task Can_transcribe_speech_with_reply_to()

try
{
response = client.PostFilesWithRequest(
response = client.PostFilesWithRequest<QueueGenerationResponse>(
new QueueSpeechToText
{
ReplyTo = "https://localhost:5005/dummyreplyto"
Expand Down Expand Up @@ -129,7 +129,7 @@ public async Task Can_transcribe_speech_without_sync_or_reply_to()

try
{
response = client.PostFilesWithRequest(
response = client.PostFilesWithRequest<QueueGenerationResponse>(
new QueueSpeechToText(),
[new UploadFile("speech.wav", fileStream) { FieldName = "audio"}]);
}
Expand Down

0 comments on commit 28901a5

Please sign in to comment.