muhtasham commited on
Commit
a16eddc
1 Parent(s): e98a0ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -47,10 +47,10 @@ def speech_to_text(mic=None, file=None):
47
  with gr.Blocks() as demo:
48
  with gr.Row():
49
  with gr.Column():
50
- audio_file =[
51
- gr.Audio(source="microphone", type="filepath", optional=True),
52
- gr.Audio(source="upload", type="filepath", optional=True)]
53
- text = gr.Textbox()
54
  with gr.Row():
55
  speech_to_text = gr.Button("Speech to text go brrr")
56
  with gr.Column():
 
47
  with gr.Blocks() as demo:
48
  with gr.Row():
49
  with gr.Column():
50
+ audio_file =[
51
+ gr.Audio(source="microphone", type="filepath", optional=True),
52
+ gr.Audio(source="upload", type="filepath", optional=True)]
53
+ text = gr.Textbox()
54
  with gr.Row():
55
  speech_to_text = gr.Button("Speech to text go brrr")
56
  with gr.Column():