Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -83,13 +83,14 @@ dict_languages = {"English": "en",
|
|
| 83 |
|
| 84 |
|
| 85 |
#### Gradio interface
|
|
|
|
| 86 |
|
| 87 |
with gr.Blocks(title="Transcription") as audio:
|
| 88 |
gr.Markdown("# Voxtral Mini Evaluation")
|
| 89 |
gr.Markdown("#### Choose the language of the audio and set an audio file to process it.")
|
| 90 |
gr.Markdown("##### *(Voxtral handles audios up to 30 minutes for transcription)*")
|
| 91 |
|
| 92 |
-
with gr.Row(
|
| 93 |
with gr.Column():
|
| 94 |
sel_language = gr.Dropdown(
|
| 95 |
choices=list(dict_languages.keys()),
|
|
@@ -111,7 +112,7 @@ with gr.Blocks(title="Transcription") as audio:
|
|
| 111 |
run_on_click=False
|
| 112 |
)
|
| 113 |
|
| 114 |
-
with gr.Row(
|
| 115 |
with gr.Column():
|
| 116 |
submit_transcript = gr.Button("Extract transcription", variant="primary")
|
| 117 |
text_transcript = gr.Textbox(label="Generated transcription", lines=10)
|
|
|
|
| 83 |
|
| 84 |
|
| 85 |
#### Gradio interface
|
| 86 |
+
.hf-banner { display: none !important; }
|
| 87 |
|
| 88 |
with gr.Blocks(title="Transcription") as audio:
|
| 89 |
gr.Markdown("# Voxtral Mini Evaluation")
|
| 90 |
gr.Markdown("#### Choose the language of the audio and set an audio file to process it.")
|
| 91 |
gr.Markdown("##### *(Voxtral handles audios up to 30 minutes for transcription)*")
|
| 92 |
|
| 93 |
+
with gr.Row():
|
| 94 |
with gr.Column():
|
| 95 |
sel_language = gr.Dropdown(
|
| 96 |
choices=list(dict_languages.keys()),
|
|
|
|
| 112 |
run_on_click=False
|
| 113 |
)
|
| 114 |
|
| 115 |
+
with gr.Row():
|
| 116 |
with gr.Column():
|
| 117 |
submit_transcript = gr.Button("Extract transcription", variant="primary")
|
| 118 |
text_transcript = gr.Textbox(label="Generated transcription", lines=10)
|