marquesafonso commited on
Commit
0f8411f
·
verified ·
1 Parent(s): 28e20d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,7 +12,7 @@ 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=["turbo", "large-v3"], value="turbo", label="Select Model")
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 +27,7 @@ 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=["turbo", "large-v3"], value="turbo", label="Select Model")
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=["mobiuslabsgmbh/faster-whisper-large-v3-turbo", "large-v3"], value="mobiuslabsgmbh/faster-whisper-large-v3-turbo", label="Select Model")
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
  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=["mobiuslabsgmbh/faster-whisper-large-v3-turbo", "large-v3"], value="mobiuslabsgmbh/faster-whisper-large-v3-turbo", label="Select Model")
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")