Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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):
|