in experiments/veo-app/pages/gemini2.py [0:0]
def gemini_page_content(app_state: me.state):
"""Gemini 2.0 Flash Mesop Page"""
with me.box(
style=me.Style(
display="flex",
flex_direction="column",
height="100%",
),
):
with me.box(
style=me.Style(
background=me.theme_var("background"),
height="100%",
overflow_y="scroll",
margin=me.Margin(bottom=20),
)
):
with me.box(
style=me.Style(
background=me.theme_var("background"),
padding=me.Padding(top=24, left=24, right=24, bottom=24),
display="flex",
flex_direction="column",
)
):
header("Gemini 2.0 Flash", "auto_awesome")
with me.box(
on_click=clear_greeting_and_refresh,
):
me.text(f"Hello, {app_state.name}!")
me.box(style=me.Style(height=16))
me.text(say_something_nice(app_state.name))