Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -567,9 +567,15 @@ with gr.Blocks(theme='rawrsor1/Everforest') as demo:
|
|
567 |
chatbot = gr.Chatbot([], elem_id="chatbot", bubble_full_width=False)
|
568 |
with gr.Column():
|
569 |
weather_output = gr.HTML(value=fetch_local_weather())
|
570 |
-
|
571 |
with gr.Column():
|
572 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
573 |
|
574 |
def setup_ui():
|
575 |
state = gr.State()
|
@@ -612,11 +618,7 @@ with gr.Blocks(theme='rawrsor1/Everforest') as demo:
|
|
612 |
news_output = gr.HTML(value=fetch_local_events())
|
613 |
|
614 |
with gr.Column():
|
615 |
-
gr.
|
616 |
-
image_output_1 = gr.Image(value=generate_image(hardcoded_prompt_1),width=300, height=300)
|
617 |
-
image_output_2 = gr.Image(value=generate_image(hardcoded_prompt_2),width=300, height=300)
|
618 |
-
image_output_3 = gr.Image(value=generate_image(hardcoded_prompt_3),width=300, height=300)
|
619 |
-
|
620 |
setup_ui()
|
621 |
|
622 |
demo.queue()
|
|
|
567 |
chatbot = gr.Chatbot([], elem_id="chatbot", bubble_full_width=False)
|
568 |
with gr.Column():
|
569 |
weather_output = gr.HTML(value=fetch_local_weather())
|
570 |
+
|
571 |
with gr.Column():
|
572 |
+
gr.Markdown("<h1>Sponsored</h1>", elem_id="image-markdown")
|
573 |
+
image_output_1 = gr.Image(value=generate_image(hardcoded_prompt_1), width=300, height=300)
|
574 |
+
image_output_2 = gr.Image(value=generate_image(hardcoded_prompt_2), width=300, height=300)
|
575 |
+
image_output_3 = gr.Image(value=generate_image(hardcoded_prompt_3), width=300, height=300)
|
576 |
+
|
577 |
+
|
578 |
+
|
579 |
|
580 |
def setup_ui():
|
581 |
state = gr.State()
|
|
|
618 |
news_output = gr.HTML(value=fetch_local_events())
|
619 |
|
620 |
with gr.Column():
|
621 |
+
news_output = gr.HTML(value=fetch_local_news())
|
|
|
|
|
|
|
|
|
622 |
setup_ui()
|
623 |
|
624 |
demo.queue()
|