MehdiAbdellaoui commited on
Commit
b922546
1 Parent(s): 3729a13

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def transcribe_and_translate_yt(link):
19
 
20
  with gr.Blocks() as demo:
21
  with gr.Tab("Real-time Swedish to English Transcription and Translation"):
22
- audio = gr.Audio(type="filepath")
23
  rt_outputs = [gr.Textbox(), gr.Textbox()]
24
  rt_button = gr.Button('Transcribe and Translate')
25
 
 
19
 
20
  with gr.Blocks() as demo:
21
  with gr.Tab("Real-time Swedish to English Transcription and Translation"):
22
+ audio = gr.Audio(sources=["microphone", "upload"], type="filepath")
23
  rt_outputs = [gr.Textbox(), gr.Textbox()]
24
  rt_button = gr.Button('Transcribe and Translate')
25