debug translate task error
Browse files- src/transcriber.py +1 -0
src/transcriber.py
CHANGED
@@ -48,6 +48,7 @@ def transcriber(file_input:gr.File,
|
|
48 |
max_words_per_line:int,
|
49 |
task:str,
|
50 |
model_version:str):
|
|
|
51 |
srt_filepath = os.path.normpath(f"{file_input.split('.')[0]}.srt")
|
52 |
if file_type == "video" :
|
53 |
audio_input = convert_video_to_audio(file_input)
|
|
|
48 |
max_words_per_line:int,
|
49 |
task:str,
|
50 |
model_version:str):
|
51 |
+
print(task)
|
52 |
srt_filepath = os.path.normpath(f"{file_input.split('.')[0]}.srt")
|
53 |
if file_type == "video" :
|
54 |
audio_input = convert_video_to_audio(file_input)
|