Update app.py
Browse files
app.py
CHANGED
@@ -34,6 +34,7 @@ with gr.Blocks(css = "app.css") as iface:
|
|
34 |
transcribe_audio_u.click(core.asr_transcript, audio_input_u, [asr_out_text, asr_out_lang, asr_out_text_detail])
|
35 |
transcribe_audio_r.click(core.asr_transcript, audio_input_r, [asr_out_text, asr_out_lang, asr_out_text_detail])
|
36 |
# audio_input_r.stream(core.asr_transcript, audio_input_r, [asr_out_text, asr_out_lang, asr_out_text_detail])
|
|
|
37 |
url_input.change(core.load_video_url, [url_input], video)
|
38 |
transcribe_url.click(core.asr_transcript, video, [asr_out_text, asr_out_lang, asr_out_text_detail])
|
39 |
summarize_btn.click(core.text_summarize, [asr_out_text, asr_out_lang], summarize_out)
|
|
|
34 |
transcribe_audio_u.click(core.asr_transcript, audio_input_u, [asr_out_text, asr_out_lang, asr_out_text_detail])
|
35 |
transcribe_audio_r.click(core.asr_transcript, audio_input_r, [asr_out_text, asr_out_lang, asr_out_text_detail])
|
36 |
# audio_input_r.stream(core.asr_transcript, audio_input_r, [asr_out_text, asr_out_lang, asr_out_text_detail])
|
37 |
+
url_input.submit(core.load_video_url, [url_input], video)
|
38 |
url_input.change(core.load_video_url, [url_input], video)
|
39 |
transcribe_url.click(core.asr_transcript, video, [asr_out_text, asr_out_lang, asr_out_text_detail])
|
40 |
summarize_btn.click(core.text_summarize, [asr_out_text, asr_out_lang], summarize_out)
|