marquesafonso commited on
Commit
1b6c7dd
·
verified ·
1 Parent(s): 39cdce1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -8,6 +8,7 @@ def main():
8
  video_file = gr.File(file_types=["video"],type="filepath", label="Upload a video")
9
  max_words_per_line = gr.Number(value=6, label="Max words per line")
10
  task = gr.Radio(choices=["transcribe", "translate"], value="transcribe", label="Select Task")
 
11
  text_output = gr.Textbox(label="SRT Text transcription", show_copy_button=True)
12
  srt_file = gr.File(file_count="single", type="filepath", file_types=[".srt"], label="SRT file")
13
  text_clean_output = gr.Textbox(label="Text transcription", show_copy_button=True)
 
8
  video_file = gr.File(file_types=["video"],type="filepath", label="Upload a video")
9
  max_words_per_line = gr.Number(value=6, label="Max words per line")
10
  task = gr.Radio(choices=["transcribe", "translate"], value="transcribe", label="Select Task")
11
+ model = gr.Radio(choices=["deepdml/faster-whisper-large-v3-turbo-ct2", "large-v3"], value="deepdml/faster-whisper-large-v3-turbo-ct2", label="Select Model")
12
  text_output = gr.Textbox(label="SRT Text transcription", show_copy_button=True)
13
  srt_file = gr.File(file_count="single", type="filepath", file_types=[".srt"], label="SRT file")
14
  text_clean_output = gr.Textbox(label="Text transcription", show_copy_button=True)