(re)add deepdml/faster-whisper-large-v3-turbo-ct2 as default model
Browse files
app.py
CHANGED
@@ -12,7 +12,9 @@ def main():
|
|
12 |
file_type = gr.Radio(choices=["video"], value="video", label="File Type")
|
13 |
max_words_per_line = gr.Number(value=6, label="Max words per line")
|
14 |
task = gr.Radio(choices=["transcribe", "translate"], value="transcribe", label="Select Task")
|
15 |
-
model_version = gr.Radio(choices=["
|
|
|
|
|
16 |
text_output = gr.Textbox(label="SRT Text transcription")
|
17 |
srt_file = gr.File(file_count="single", type="filepath", file_types=[".srt"], label="SRT file")
|
18 |
text_clean_output = gr.Textbox(label="Text transcription")
|
@@ -27,7 +29,9 @@ def main():
|
|
27 |
file_type = gr.Radio(choices=["audio"], value="audio", label="File Type")
|
28 |
max_words_per_line = gr.Number(value=6, label="Max words per line")
|
29 |
task = gr.Radio(choices=["transcribe", "translate"], value="transcribe", label="Select Task")
|
30 |
-
model_version = gr.Radio(choices=["
|
|
|
|
|
31 |
text_output = gr.Textbox(label="SRT Text transcription")
|
32 |
srt_file = gr.File(file_count="single", type="filepath", file_types=[".srt"], label="SRT file")
|
33 |
text_clean_output = gr.Textbox(label="Text transcription")
|
|
|
12 |
file_type = gr.Radio(choices=["video"], value="video", label="File Type")
|
13 |
max_words_per_line = gr.Number(value=6, label="Max words per line")
|
14 |
task = gr.Radio(choices=["transcribe", "translate"], value="transcribe", label="Select Task")
|
15 |
+
model_version = gr.Radio(choices=["deepdml/faster-whisper-large-v3-turbo-ct2",
|
16 |
+
"mobiuslabsgmbh/faster-whisper-large-v3-turbo",
|
17 |
+
"large-v3"], value="deepdml/faster-whisper-large-v3-turbo-ct2", label="Select Model")
|
18 |
text_output = gr.Textbox(label="SRT Text transcription")
|
19 |
srt_file = gr.File(file_count="single", type="filepath", file_types=[".srt"], label="SRT file")
|
20 |
text_clean_output = gr.Textbox(label="Text transcription")
|
|
|
29 |
file_type = gr.Radio(choices=["audio"], value="audio", label="File Type")
|
30 |
max_words_per_line = gr.Number(value=6, label="Max words per line")
|
31 |
task = gr.Radio(choices=["transcribe", "translate"], value="transcribe", label="Select Task")
|
32 |
+
model_version = gr.Radio(choices=["deepdml/faster-whisper-large-v3-turbo-ct2",
|
33 |
+
"mobiuslabsgmbh/faster-whisper-large-v3-turbo",
|
34 |
+
"large-v3"], value="deepdml/faster-whisper-large-v3-turbo-ct2", label="Select Model")
|
35 |
text_output = gr.Textbox(label="SRT Text transcription")
|
36 |
srt_file = gr.File(file_count="single", type="filepath", file_types=[".srt"], label="SRT file")
|
37 |
text_clean_output = gr.Textbox(label="Text transcription")
|