Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -361,7 +361,6 @@ with demo:
|
|
361 |
selected_source_lang.render()
|
362 |
selected_whisper_model.render()
|
363 |
number_speakers.render()
|
364 |
-
download_transcript.render()
|
365 |
transcribe_btn = gr.Button("Transcribe audio and diarization")
|
366 |
transcribe_btn.click(speech_to_text, [video_in, selected_source_lang, selected_whisper_model, number_speakers], [transcription_df, system_info, download_transcript])
|
367 |
|
@@ -374,6 +373,7 @@ with demo:
|
|
374 |
|
375 |
with gr.Row():
|
376 |
with gr.Column():
|
|
|
377 |
transcription_df.render()
|
378 |
system_info.render()
|
379 |
gr.Markdown('''<center><img src='https://visitor-badge.glitch.me/badge?page_id=WhisperDiarizationSpeakers' alt='visitor badge'><a href="https://opensource.org/licenses/Apache-2.0"><img src='https://img.shields.io/badge/License-Apache_2.0-blue.svg' alt='License: Apache 2.0'></center>''')
|
|
|
361 |
selected_source_lang.render()
|
362 |
selected_whisper_model.render()
|
363 |
number_speakers.render()
|
|
|
364 |
transcribe_btn = gr.Button("Transcribe audio and diarization")
|
365 |
transcribe_btn.click(speech_to_text, [video_in, selected_source_lang, selected_whisper_model, number_speakers], [transcription_df, system_info, download_transcript])
|
366 |
|
|
|
373 |
|
374 |
with gr.Row():
|
375 |
with gr.Column():
|
376 |
+
download_transcript.render()
|
377 |
transcription_df.render()
|
378 |
system_info.render()
|
379 |
gr.Markdown('''<center><img src='https://visitor-badge.glitch.me/badge?page_id=WhisperDiarizationSpeakers' alt='visitor badge'><a href="https://opensource.org/licenses/Apache-2.0"><img src='https://img.shields.io/badge/License-Apache_2.0-blue.svg' alt='License: Apache 2.0'></center>''')
|