From b0f58dfea8bd2bbd98bcf41ea5ed01e174b4a4d1 Mon Sep 17 00:00:00 2001 From: jhj0517 <97279763+jhj0517@users.noreply.github.com> Date: Thu, 3 Oct 2024 02:11:48 +0900 Subject: [PATCH] Allow custom values --- app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app.py b/app.py index a173d900..04f877f7 100644 --- a/app.py +++ b/app.py @@ -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.")