Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
RonanMorgan committed Dec 17, 2024
1 parent ca02e30 commit 5efee7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/callbacks/display_callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
import ast
import json
from typing import List

import dash
from dash import html
import logging_config
import pandas as pd
from dash import html
from dash.dependencies import ALL, Input, Output, State
from dash.exceptions import PreventUpdate
from main import app
Expand Down Expand Up @@ -295,7 +296,6 @@ def update_image_and_bbox(slider_value, detection_data, media_url, wildfire_list
images.append(media_url[str(detection["id"])])
boxes = detection_data["processed_loc"].tolist()


if slider_value < len(images):
img_src = images[slider_value]
images_bbox_list = boxes[slider_value]
Expand Down
1 change: 1 addition & 0 deletions app/pages/homepage.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
app = Dash(__name__, external_stylesheets=[dbc.themes.BOOTSTRAP])
app.css.append_css({"external_url": "/assets/style.css"})


def homepage_layout(client_token, lang="fr"):
translate = {
"fr": {
Expand Down

0 comments on commit 5efee7a

Please sign in to comment.