JLW commited on
Commit
b57585e
·
1 Parent(s): 5bfd007

Temporarily remove Whisper

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -469,10 +469,10 @@ with gr.Blocks(css=".gradio-container {background-color: lightgray}") as block:
469
  submit = gr.Button(value="Send", variant="secondary").style(full_width=False)
470
 
471
  # UNCOMMENT TO USE WHISPER
472
- with gr.Row():
473
- audio_comp = gr.Microphone(source="microphone", type="filepath", label="Just say it!",
474
- interactive=True, streaming=False)
475
- audio_comp.change(transcribe, inputs=[audio_comp, whisper_lang_state], outputs=[message])
476
 
477
  gr.Examples(
478
  examples=["How many people live in Canada?",
 
469
  submit = gr.Button(value="Send", variant="secondary").style(full_width=False)
470
 
471
  # UNCOMMENT TO USE WHISPER
472
+ # with gr.Row():
473
+ # audio_comp = gr.Microphone(source="microphone", type="filepath", label="Just say it!",
474
+ # interactive=True, streaming=False)
475
+ # audio_comp.change(transcribe, inputs=[audio_comp, whisper_lang_state], outputs=[message])
476
 
477
  gr.Examples(
478
  examples=["How many people live in Canada?",