flozi00 commited on
Commit
71a52b2
·
1 Parent(s): 24dd775

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ hotwords = [
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
 
19
  def punctuate(transcribed):
 
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
+ transcribed = punctuate(transcribed)
17
  return transcribed
18
 
19
  def punctuate(transcribed):