Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -1459,13 +1459,13 @@ with gr.Blocks(theme='Pijush2023/scikit-learn-pijush') as demo:
|
|
| 1459 |
stream_audio_input.change(transcribe_function, inputs=[stream_transcription, stream_audio_input], outputs=[stream_transcription, chat_input])
|
| 1460 |
|
| 1461 |
# Add the clear button for ASR history
|
| 1462 |
-
clear_btn = gr.Button("Clear ASR
|
| 1463 |
clear_btn.click(lambda: [None, ""], outputs=[stream_transcription, chat_input])
|
| 1464 |
|
| 1465 |
-
|
| 1466 |
-
|
| 1467 |
-
|
| 1468 |
-
|
| 1469 |
|
| 1470 |
with gr.Column():
|
| 1471 |
image_output_1 = gr.Image(value=generate_image(hardcoded_prompt_1), width=400, height=400)
|
|
|
|
| 1459 |
stream_audio_input.change(transcribe_function, inputs=[stream_transcription, stream_audio_input], outputs=[stream_transcription, chat_input])
|
| 1460 |
|
| 1461 |
# Add the clear button for ASR history
|
| 1462 |
+
clear_btn = gr.Button("Clear ASR ")
|
| 1463 |
clear_btn.click(lambda: [None, ""], outputs=[stream_transcription, chat_input])
|
| 1464 |
|
| 1465 |
+
with gr.Column():
|
| 1466 |
+
weather_output = gr.HTML(value=fetch_local_weather())
|
| 1467 |
+
news_output = gr.HTML(value=fetch_local_news())
|
| 1468 |
+
news_output = gr.HTML(value=fetch_local_events())
|
| 1469 |
|
| 1470 |
with gr.Column():
|
| 1471 |
image_output_1 = gr.Image(value=generate_image(hardcoded_prompt_1), width=400, height=400)
|