Changed: paths

This commit is contained in:
2021-10-08 15:39:51 +02:00
parent b316b60c2a
commit 5649611ce2
2 changed files with 6 additions and 4 deletions
+2 -2
View File
@@ -24,9 +24,9 @@ import json
import datetime
def create_vtt(video_path):
def create_vtt(model_path, video_path):
sample_rate = 16000
model = Model("applications/transcription/private/model")
model = Model(model_path)
rec = KaldiRecognizer(model, sample_rate)
rec.SetWords(True)