Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -91,7 +91,7 @@ with gr.Blocks() as demo:
|
|
| 91 |
result_button_summary_audio = gr.Button('2. Get a summary')
|
| 92 |
output_text_summary_audio = gr.Textbox(placeholder='Summary of the audio file.', label='Summary')
|
| 93 |
|
| 94 |
-
result_button_transcribe_audio.click(
|
| 95 |
result_button_summary_audio.click(getSummary, inputs=output_text_transcribe_audio, outputs=output_text_summary_audio)
|
| 96 |
with gr.Tab('Summary of Youtube video'):
|
| 97 |
input_text_url = gr.Textbox(placeholder='Youtube video URL', label='URL')
|
|
|
|
| 91 |
result_button_summary_audio = gr.Button('2. Get a summary')
|
| 92 |
output_text_summary_audio = gr.Textbox(placeholder='Summary of the audio file.', label='Summary')
|
| 93 |
|
| 94 |
+
result_button_transcribe_audio.click(transcribe, inputs=input_audio, outputs=output_text_transcribe_audio)
|
| 95 |
result_button_summary_audio.click(getSummary, inputs=output_text_transcribe_audio, outputs=output_text_summary_audio)
|
| 96 |
with gr.Tab('Summary of Youtube video'):
|
| 97 |
input_text_url = gr.Textbox(placeholder='Youtube video URL', label='URL')
|