flozi00 commited on
Commit
783019f
·
1 Parent(s): 8d6b849

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ hotwords = [
12
  ]
13
 
14
  def transcribe(audio):
15
- transcribed = p(audio, chunk_length_s=16, stride_length_s=(4, 0), decoder_kwargs={"hotwords" :hotwords})["text"]
16
 
17
  return transcribed
18
 
 
12
  ]
13
 
14
  def transcribe(audio):
15
+ transcribed = p(audio, chunk_length_s=16, stride_length_s=(4, 0), decoder_kwargs={"hotwords" :hotwords, "hotword_weight": 100})["text"]
16
 
17
  return transcribed
18