Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -376,10 +376,10 @@ with demo:
|
|
376 |
selected_source_lang.render()
|
377 |
selected_whisper_model.render()
|
378 |
input_min_number_speakers.render()
|
379 |
-
|
380 |
transcribe_btn = gr.Button("Transcribe audio and diarization")
|
381 |
transcribe_btn.click(speech_to_text,
|
382 |
-
[video_in, selected_source_lang, selected_whisper_model, input_min_number_speakers,
|
383 |
[transcription_df, system_info, download_transcript]
|
384 |
)
|
385 |
|
|
|
376 |
selected_source_lang.render()
|
377 |
selected_whisper_model.render()
|
378 |
input_min_number_speakers.render()
|
379 |
+
input_max_number_speakers.render()
|
380 |
transcribe_btn = gr.Button("Transcribe audio and diarization")
|
381 |
transcribe_btn.click(speech_to_text,
|
382 |
+
[video_in, selected_source_lang, selected_whisper_model, input_min_number_speakers, input_max_number_speakers],
|
383 |
[transcription_df, system_info, download_transcript]
|
384 |
)
|
385 |
|