Skip to content

Commit

Permalink
Merge pull request #312 from jhj0517/fix/enable-custom-values
Browse files Browse the repository at this point in the history
Allow custom values
  • Loading branch information
jhj0517 authored Oct 2, 2024
2 parents fd091ff + b0f58df commit f3f351e
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 f3f351e

Please sign in to comment.