Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
sunjiayu committed May 29, 2024
1 parent eccb8f1 commit f7471f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/service/ielts_speaking_p1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ grpc::Status IeltsAI::ielts_speaking_p1_generate(grpc::ServerContext* ctx, const
}
absl::Time step2 = absl::Now();
// 2. call api
auto res = _audio->transcribe(filename, "whisper-1");
auto res = _audio->transcribe(local_filename, "whisper-1");
absl::Time step3 = absl::Now();
// 3. response
auto transcribe_res = res["text"].get<std::string>();
Expand Down

0 comments on commit f7471f2

Please sign in to comment.