Skip to content

Commit

Permalink
refactor: linter appeasement
Browse files Browse the repository at this point in the history
  • Loading branch information
Hussain Chinoy committed Nov 11, 2024
1 parent 357e228 commit 0979a35
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions gemini/sample-apps/gemini-mesop-cloudrun/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def generate_story(e: me.ClickEvent | me.EnterEvent) -> None:
yield


## Marketing events
# Marketing events
def on_change_marketing_category(e: me.RadioChangeEvent) -> None:
state = me.state(State)
state.marketing_product_category = e.value
Expand Down Expand Up @@ -304,7 +304,7 @@ def on_click_clear_marketing_campaign(e: me.ClickEvent) -> None:
state.marketing_campaign_output = 0


## Image Events
# Image Events

ROOM_IMAGE_URI = (
"gs://github-repo/img/gemini/retail-recommendations/rooms/living_room.jpeg"
Expand Down Expand Up @@ -546,7 +546,7 @@ def on_click_clear_math(e: me.ClickEvent) -> None:
state.math_answers_output = 0


## Video Events
# Video Events

VIDEO_DESCRIPTION = (
"gs://github-repo/img/gemini/multimodality_usecases_overview/mediterraneansea.mp4"
Expand Down Expand Up @@ -737,7 +737,7 @@ def vertex_gemini_header() -> None:
me.text("with Mesop", type="headline-5")


### Generate a story page / main
# Generate a story page / main
@me.page(
path="/",
title="Vertex AI Gemini with Mesop",
Expand Down Expand Up @@ -862,7 +862,7 @@ def app() -> None:
)


### Marketing page
# Marketing page
@me.page(
path="/marketing",
title="Vertex AI Gemini with Mesop",
Expand Down Expand Up @@ -1002,7 +1002,7 @@ def marketing_page() -> None:
)


### Image playground page
# Image playground page
@me.page(
path="/images",
title="Vertex AI Gemini with Mesop",
Expand Down Expand Up @@ -1513,7 +1513,7 @@ def image_furniture_tab() -> None:
)


### Video playground page
# Video playground page
@me.page(
path="/videos",
title="Vertex AI Gemini with Mesop",
Expand Down

0 comments on commit 0979a35

Please sign in to comment.