Skip to content

Commit

Permalink
Allow custom values
Browse files Browse the repository at this point in the history
  • Loading branch information
jhj0517 committed Oct 2, 2024
1 parent fd091ff commit b0f58df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ def create_whisper_parameters(self):
info="If the no speech probability is higher than this value AND the average log probability over sampled tokens is below 'Log Prob Threshold', consider the segment as silent.")
dd_compute_type = gr.Dropdown(label="Compute Type", choices=self.whisper_inf.available_compute_types,
value=self.whisper_inf.current_compute_type, interactive=True,
allow_custom_value=True,
info="Select the type of computation to perform.")
nb_best_of = gr.Number(label="Best Of", value=whisper_params["best_of"], interactive=True,
info="Number of candidates when sampling with non-zero temperature.")
Expand Down

0 comments on commit b0f58df

Please sign in to comment.