Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -406,8 +406,8 @@ class WhisperTranscriber:
|
|
406 |
json_result = json.dumps(result, indent=4, ensure_ascii=False)
|
407 |
|
408 |
output_files = []
|
409 |
-
output_files.append(self.__create_file(srt, output_dir, source_name + "-
|
410 |
-
output_files.append(self.__create_file(vtt, output_dir, source_name + "
|
411 |
# output_files.append(self.__create_file(text, output_dir, source_name + "-transcript.txt"));
|
412 |
# output_files.append(self.__create_file(json_result, output_dir, source_name + "-result.json"));
|
413 |
|
|
|
406 |
json_result = json.dumps(result, indent=4, ensure_ascii=False)
|
407 |
|
408 |
output_files = []
|
409 |
+
output_files.append(self.__create_file(srt, output_dir, source_name + "-srt.txt"));
|
410 |
+
output_files.append(self.__create_file(vtt, output_dir, source_name + ".txt"));
|
411 |
# output_files.append(self.__create_file(text, output_dir, source_name + "-transcript.txt"));
|
412 |
# output_files.append(self.__create_file(json_result, output_dir, source_name + "-result.json"));
|
413 |
|