Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -673,7 +673,7 @@ with gr.Blocks(theme='Pijush2023/scikit-learn-pijush') as demo:
|
|
673 |
gr.Markdown("<h2>Hey Radar</h2>")
|
674 |
audio_input = gr.Audio(sources=["microphone"], type='numpy')
|
675 |
transcribe_button = gr.Button("Transcribe")
|
676 |
-
transcribe_button.click(fn=transcribe_and_update_textbox, inputs=[audio_input], outputs=[chat_input],api_name=voice_to_text)
|
677 |
|
678 |
with gr.Column():
|
679 |
weather_output = gr.HTML(value=fetch_local_weather())
|
|
|
673 |
gr.Markdown("<h2>Hey Radar</h2>")
|
674 |
audio_input = gr.Audio(sources=["microphone"], type='numpy')
|
675 |
transcribe_button = gr.Button("Transcribe")
|
676 |
+
transcribe_button.click(fn=transcribe_and_update_textbox, inputs=[audio_input], outputs=[chat_input],api_name="voice_to_text")
|
677 |
|
678 |
with gr.Column():
|
679 |
weather_output = gr.HTML(value=fetch_local_weather())
|