AbeerTrial commited on
Commit
7135245
1 Parent(s): a343959

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -472,7 +472,7 @@ with gr.Blocks(css=css) as demo:
472
  with gr.Tab("From Recorded Audio"):
473
  with gr.Column():
474
 
475
- mic_audio_input = gr.Audio(source="microphone", type="filepath", label="Speak to the Microphone")
476
  mic_audio_button = gr.Button("Generate Transcript")
477
  mic_audio_output = gr.Textbox(label="Output")
478
 
@@ -490,7 +490,7 @@ with gr.Blocks(css=css) as demo:
490
  with gr.Tab("From Uploaded Audio"):
491
  with gr.Column():
492
 
493
- upload_audio_input = gr.Audio(source="upload", type="filepath", label="Upload Audio File here")
494
  upload_audio_button = gr.Button("Generate Transcript")
495
  upload_audio_output = gr.Textbox(label="Output")
496
 
 
472
  with gr.Tab("From Recorded Audio"):
473
  with gr.Column():
474
 
475
+ mic_audio_input = gr.Audio(type="filepath", label="Speak to the Microphone")
476
  mic_audio_button = gr.Button("Generate Transcript")
477
  mic_audio_output = gr.Textbox(label="Output")
478
 
 
490
  with gr.Tab("From Uploaded Audio"):
491
  with gr.Column():
492
 
493
+ upload_audio_input = gr.Audio(type="filepath", label="Upload Audio File here")
494
  upload_audio_button = gr.Button("Generate Transcript")
495
  upload_audio_output = gr.Textbox(label="Output")
496