reab5555 commited on
Commit
6919a5c
·
verified ·
1 Parent(s): d97fbce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ def transcribe(audio_file, transcribe_to_text, transcribe_to_srt, language):
24
  feature_extractor=processor.feature_extractor,
25
  max_new_tokens=128,
26
  chunk_length_s=30,
27
- batch_size=2,
28
  return_timestamps=True,
29
  torch_dtype=torch_dtype,
30
  device=device,
 
24
  feature_extractor=processor.feature_extractor,
25
  max_new_tokens=128,
26
  chunk_length_s=30,
27
+ batch_size=1,
28
  return_timestamps=True,
29
  torch_dtype=torch_dtype,
30
  device=device,