DebasishDhal99 commited on
Commit
1d62a43
·
1 Parent(s): 087b372

Add target lang option to audio translation. Edit

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -66,7 +66,8 @@ audio_interface = gr.Interface(
66
  gr.Dropdown(
67
  choices=["turbo", "base", "tiny", "small", "medium", "large"],
68
  label="Select Whisper Model size",
69
- )
 
70
  ],
71
  outputs=[gr.Textbox(label="Original text"),
72
  gr.Textbox(label="Translated text"),
 
66
  gr.Dropdown(
67
  choices=["turbo", "base", "tiny", "small", "medium", "large"],
68
  label="Select Whisper Model size",
69
+ ),
70
+ gr.Dropdown(choices=language_list, label="Select Target Language", interactive=True)
71
  ],
72
  outputs=[gr.Textbox(label="Original text"),
73
  gr.Textbox(label="Translated text"),