Skip to content

Commit

Permalink
Blind change to fix Java test.
Browse files Browse the repository at this point in the history
  • Loading branch information
ulatekh committed Apr 3, 2024
1 parent d2eeca8 commit ee751d7
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -148,6 +148,9 @@ public void tdrzEnable(boolean enable) {
tdrz_enable = enable ? CBool.TRUE : CBool.FALSE;
}

/** Regular expression matching tokens to suppress. */
public String suppress_regex;

/** Tokens to provide to the whisper decoder as an initial prompt.
* These are prepended to any existing text context from a previous call. */
public String initial_prompt;
Expand Down Expand Up @@ -319,7 +322,7 @@ protected List<String> getFieldOrder() {
"no_context", "single_segment", "no_timestamps",
"print_special", "print_progress", "print_realtime", "print_timestamps", "token_timestamps",
"thold_pt", "thold_ptsum", "max_len", "split_on_word", "max_tokens", "speed_up", "audio_ctx",
"tdrz_enable", "initial_prompt", "prompt_tokens", "prompt_n_tokens", "language", "detect_language",
"tdrz_enable", "suppress_regex", "initial_prompt", "prompt_tokens", "prompt_n_tokens", "language", "detect_language",
"suppress_blank", "suppress_non_speech_tokens", "temperature", "max_initial_ts", "length_penalty",
"temperature_inc", "entropy_thold", "logprob_thold", "no_speech_thold", "greedy", "beam_search",
"new_segment_callback", "new_segment_callback_user_data",
Expand Down

0 comments on commit ee751d7

Please sign in to comment.