Spaces:
Running
Running
jhj0517
commited on
Commit
·
b0f58df
1
Parent(s):
fd091ff
Allow custom values
Browse files
app.py
CHANGED
@@ -69,6 +69,7 @@ class App:
|
|
69 |
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.")
|
70 |
dd_compute_type = gr.Dropdown(label="Compute Type", choices=self.whisper_inf.available_compute_types,
|
71 |
value=self.whisper_inf.current_compute_type, interactive=True,
|
|
|
72 |
info="Select the type of computation to perform.")
|
73 |
nb_best_of = gr.Number(label="Best Of", value=whisper_params["best_of"], interactive=True,
|
74 |
info="Number of candidates when sampling with non-zero temperature.")
|
|
|
69 |
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.")
|
70 |
dd_compute_type = gr.Dropdown(label="Compute Type", choices=self.whisper_inf.available_compute_types,
|
71 |
value=self.whisper_inf.current_compute_type, interactive=True,
|
72 |
+
allow_custom_value=True,
|
73 |
info="Select the type of computation to perform.")
|
74 |
nb_best_of = gr.Number(label="Best Of", value=whisper_params["best_of"], interactive=True,
|
75 |
info="Number of candidates when sampling with non-zero temperature.")
|