Skip to content

Commit

Permalink
revert sample
Browse files Browse the repository at this point in the history
  • Loading branch information
as-suvorov committed Jan 23, 2025
1 parent abde309 commit 3348ad5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ int main(int argc, char* argv[]) try {
ov::genai::WhisperGenerationConfig config = pipeline.get_generation_config();
config.max_new_tokens = 100; // increase this based on your speech length
// 'task' and 'language' parameters are supported for multilingual models only
// config.language = "<|en|>"; // can switch to <|zh|> for Chinese language
config.language = "<|en|>"; // can switch to <|zh|> for Chinese language
config.task = "transcribe";
config.return_timestamps = true;

Expand Down

0 comments on commit 3348ad5

Please sign in to comment.