Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -750,10 +750,10 @@ with gr.Blocks(theme='Pijush2023/scikit-learn-pijush') as demo:
|
|
| 750 |
|
| 751 |
# Recorder section
|
| 752 |
|
| 753 |
-
gr.Markdown("<h2>Hey Radar</h2>")
|
| 754 |
-
audio_input = gr.Audio(sources=["microphone"], type='numpy')
|
| 755 |
-
transcribe_button = gr.Button("Transcribe")
|
| 756 |
-
transcribe_button.click(fn=transcribe_and_update_textbox, inputs=[audio_input], outputs=[chat_input], api_name="voice_to_text")
|
| 757 |
|
| 758 |
|
| 759 |
# Streaming ASR component
|
|
|
|
| 750 |
|
| 751 |
# Recorder section
|
| 752 |
|
| 753 |
+
# gr.Markdown("<h2>Hey Radar</h2>")
|
| 754 |
+
# audio_input = gr.Audio(sources=["microphone"], type='numpy')
|
| 755 |
+
# transcribe_button = gr.Button("Transcribe")
|
| 756 |
+
# transcribe_button.click(fn=transcribe_and_update_textbox, inputs=[audio_input], outputs=[chat_input], api_name="voice_to_text")
|
| 757 |
|
| 758 |
|
| 759 |
# Streaming ASR component
|