Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -574,9 +574,9 @@ with gr.Blocks(theme='Pijush2023/scikit-learn-pijush') as demo:
|
|
| 574 |
audio_input = gr.Audio(sources=["microphone"], streaming=True, type='numpy')
|
| 575 |
audio_input.stream(transcribe_function, inputs=[state, audio_input], outputs=[state, chat_input], api_name="SAMLOne_real_time")
|
| 576 |
|
| 577 |
-
gr.Markdown("<h1 style='color: red;'>Map</h1>", elem_id="location-markdown")
|
| 578 |
-
location_output = gr.HTML()
|
| 579 |
-
bot_msg.then(show_map_if_details, [chatbot, choice], [location_output, location_output])
|
| 580 |
|
| 581 |
# with gr.Column():
|
| 582 |
# weather_output = gr.HTML(value=fetch_local_weather())
|
|
|
|
| 574 |
audio_input = gr.Audio(sources=["microphone"], streaming=True, type='numpy')
|
| 575 |
audio_input.stream(transcribe_function, inputs=[state, audio_input], outputs=[state, chat_input], api_name="SAMLOne_real_time")
|
| 576 |
|
| 577 |
+
# gr.Markdown("<h1 style='color: red;'>Map</h1>", elem_id="location-markdown")
|
| 578 |
+
# location_output = gr.HTML()
|
| 579 |
+
# bot_msg.then(show_map_if_details, [chatbot, choice], [location_output, location_output])
|
| 580 |
|
| 581 |
# with gr.Column():
|
| 582 |
# weather_output = gr.HTML(value=fetch_local_weather())
|