Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ with gr.Blocks() as demo:
|
|
55 |
#result_button_summary = gr.Button('2. Create Summary')
|
56 |
#output_text_summary = gr.Textbox(placeholder='Summary of the YouTube video transcript.', label='Summary')
|
57 |
|
58 |
-
result_button_transcribe.click(get_text, inputs = input_text_url, outputs = output_text_transcribe)
|
59 |
#result_button_summary.click(get_summary, inputs = output_text_transcribe, outputs = output_text_summary)
|
60 |
|
61 |
demo.queue(default_enabled = True).launch(debug = True)
|
|
|
55 |
#result_button_summary = gr.Button('2. Create Summary')
|
56 |
#output_text_summary = gr.Textbox(placeholder='Summary of the YouTube video transcript.', label='Summary')
|
57 |
|
58 |
+
result_button_transcribe.click(get_text, inputs = input_text_url, outputs = output_text_transcribe, api_name="transcribetext")
|
59 |
#result_button_summary.click(get_summary, inputs = output_text_transcribe, outputs = output_text_summary)
|
60 |
|
61 |
demo.queue(default_enabled = True).launch(debug = True)
|