cbmd98 commited on
Commit
2018adc
·
verified ·
1 Parent(s): c41882a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -120,7 +120,7 @@ def process_chunk(i, chunk, waveform, sr):
120
  with torch.no_grad():
121
  logits = model(**inputs).logits
122
 
123
- text = processor.decode(logits.cpu().numpy()[0], beam_width=5).text
124
  return text
125
 
126
  # ------------------ TRANSCRIBE ------------------
 
120
  with torch.no_grad():
121
  logits = model(**inputs).logits
122
 
123
+ text = processor.decode(logits.cpu().numpy()[0], beam_width=100).text
124
  return text
125
 
126
  # ------------------ TRANSCRIBE ------------------