marquesafonso
commited on
Commit
•
27d74f3
1
Parent(s):
76e7e2a
improve interface md text
Browse files
app.py
CHANGED
@@ -3,8 +3,8 @@ from src.transcriber import transcriber
|
|
3 |
|
4 |
def main():
|
5 |
with gr.Blocks(title='multilang-asr-transcriber', delete_cache=(86400, 86400)) as demo:
|
6 |
-
gr.Markdown('
|
7 |
-
gr.Markdown('
|
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.Dropdown(choices=["transcribe", "translate"], value="transcribe", label="Select Task")
|
|
|
3 |
|
4 |
def main():
|
5 |
with gr.Blocks(title='multilang-asr-transcriber', delete_cache=(86400, 86400)) as demo:
|
6 |
+
gr.Markdown('## Multilang ASR Transcriber')
|
7 |
+
gr.Markdown('An automatic speech recognition tool using [faster-whisper](https://github.com/SYSTRAN/faster-whisper). Supports multilingual video transcription and translation to english. Users may set the max words per line.')
|
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.Dropdown(choices=["transcribe", "translate"], value="transcribe", label="Select Task")
|