Temporarily remove Whisper
Browse files
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 |
-
|
| 474 |
-
|
| 475 |
-
|
| 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?",
|