Skip to content

Commit

Permalink
chore: fix a typo
Browse files Browse the repository at this point in the history
Signed-off-by: Xin Liu <sam@secondstate.io>
  • Loading branch information
apepkuss committed Sep 14, 2024
1 parent 24a2fe1 commit 23b1ddd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/whisper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ pub(crate) async fn whisper_translations_handler(req: Request<Body>) -> Response
return error::internal_server_error(err_msg);
}

request.prompt = Some(language);
request.language = Some(language);
}
false => {
let err_msg =
Expand Down

0 comments on commit 23b1ddd

Please sign in to comment.