ysharma HF staff commited on
Commit
2915c8f
1 Parent(s): 0b9f21f

update mic

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -167,7 +167,7 @@ with demo:
167
  """)
168
  with gr.Row():
169
  with gr.Column():
170
- in_audio = gr.Audio(source="mic", type="filepath", label='Record your voice here in English, Spanish or French for best results-') #type='filepath'
171
  b1 = gr.Button("AI response pipeline (Whisper - Bloom - Coqui pipeline)")
172
  out_transcript = gr.Textbox(label= 'English/Spanish/French Transcript of your Audio using OpenAI Whisper')
173
  out_translation_en = gr.Textbox(label= 'English Translation of audio using OpenAI Whisper')
 
167
  """)
168
  with gr.Row():
169
  with gr.Column():
170
+ in_audio = gr.Audio(source="microphone", type="filepath", label='Record your voice here in English, Spanish or French for best results-') #type='filepath'
171
  b1 = gr.Button("AI response pipeline (Whisper - Bloom - Coqui pipeline)")
172
  out_transcript = gr.Textbox(label= 'English/Spanish/French Transcript of your Audio using OpenAI Whisper')
173
  out_translation_en = gr.Textbox(label= 'English Translation of audio using OpenAI Whisper')