Kleber commited on
Commit
1544677
·
verified ·
1 Parent(s): 362b520

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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
- transcription_var = 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
  )
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