Update app.py
Browse files
app.py
CHANGED
@@ -22,13 +22,14 @@ with gr.Blocks() as demo:
|
|
22 |
uploaded_audio = gr.Audio(label="Upload Audio File", type="filepath")
|
23 |
|
24 |
with gr.Column():
|
25 |
-
|
26 |
with gr.Row():
|
27 |
transcribe_button = gr.Button("Transcribe")
|
28 |
|
29 |
transcribe_button.click(
|
30 |
transcribe,
|
31 |
[uploaded_audio],
|
|
|
32 |
)
|
33 |
|
34 |
|
|
|
22 |
uploaded_audio = gr.Audio(label="Upload Audio File", type="filepath")
|
23 |
|
24 |
with gr.Column():
|
25 |
+
transcription = gr.Textbox(type="text", label="Transcription")
|
26 |
with gr.Row():
|
27 |
transcribe_button = gr.Button("Transcribe")
|
28 |
|
29 |
transcribe_button.click(
|
30 |
transcribe,
|
31 |
[uploaded_audio],
|
32 |
+
transcription
|
33 |
)
|
34 |
|
35 |
|