marquesafonso
commited on
change gradio theme (3)
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
from src.transcriber import transcriber
|
3 |
|
4 |
def main():
|
5 |
-
with gr.Blocks(title='multilang-asr-transcriber', delete_cache=(86400, 86400), theme=gr.themes.
|
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")
|
|
|
2 |
from src.transcriber import transcriber
|
3 |
|
4 |
def main():
|
5 |
+
with gr.Blocks(title='multilang-asr-transcriber', delete_cache=(86400, 86400), theme=gr.themes.Base()) 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")
|