update mic
Browse files
app.py
CHANGED
@@ -167,7 +167,7 @@ with demo:
|
|
167 |
""")
|
168 |
with gr.Row():
|
169 |
with gr.Column():
|
170 |
-
in_audio = gr.Audio(source="
|
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')
|