mirror of
https://github.com/tcsenpai/whisperapp.git
synced 2025-06-07 07:25:21 +00:00
removed vad
This commit is contained in:
parent
e3bdbd0814
commit
6dfd4eba56
3
app.py
3
app.py
@ -462,9 +462,6 @@ def create_interface():
|
|||||||
audio,
|
audio,
|
||||||
language=lang if lang != "Auto-detect" else None,
|
language=lang if lang != "Auto-detect" else None,
|
||||||
batch_size=16, # WhisperX uses batch_size instead of beam_size
|
batch_size=16, # WhisperX uses batch_size instead of beam_size
|
||||||
vad=(
|
|
||||||
True if VAD_FILTER else False
|
|
||||||
), # WhisperX uses vad instead of vad_filter
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# Get the full text with timestamps
|
# Get the full text with timestamps
|
||||||
|
@ -3,7 +3,6 @@ default_model = base
|
|||||||
device = cuda
|
device = cuda
|
||||||
compute_type = float32
|
compute_type = float32
|
||||||
batch_size = 16
|
batch_size = 16
|
||||||
vad = true
|
|
||||||
|
|
||||||
[app]
|
[app]
|
||||||
max_duration = 3600
|
max_duration = 3600
|
||||||
|
Loading…
x
Reference in New Issue
Block a user