Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -626,7 +626,11 @@ with gr.Blocks(theme='Pijush2023/scikit-learn-pijush') as demo:
|
|
626 |
|
627 |
audio_input = gr.Audio(sources=["microphone"], streaming=True, type='numpy')
|
628 |
audio_input.stream(transcribe_function, inputs=[state, audio_input], outputs=[state, chat_input], api_name="SAMLOne_real_time")
|
629 |
-
|
|
|
|
|
|
|
|
|
630 |
with gr.Column():
|
631 |
image_output_1 = gr.Image(value=generate_image(hardcoded_prompt_1), width=400, height=400)
|
632 |
image_output_2 = gr.Image(value=generate_image(hardcoded_prompt_2), width=400, height=400)
|
|
|
626 |
|
627 |
audio_input = gr.Audio(sources=["microphone"], streaming=True, type='numpy')
|
628 |
audio_input.stream(transcribe_function, inputs=[state, audio_input], outputs=[state, chat_input], api_name="SAMLOne_real_time")
|
629 |
+
with gr.Column():
|
630 |
+
weather_output = gr.HTML(value=fetch_local_weather())
|
631 |
+
news_output = gr.HTML(value=fetch_local_news())
|
632 |
+
news_output = gr.HTML(value=fetch_local_events())
|
633 |
+
|
634 |
with gr.Column():
|
635 |
image_output_1 = gr.Image(value=generate_image(hardcoded_prompt_1), width=400, height=400)
|
636 |
image_output_2 = gr.Image(value=generate_image(hardcoded_prompt_2), width=400, height=400)
|