Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Commit

Permalink
chore: add prompt viz, add new display for classifier and adjust layo…
Browse files Browse the repository at this point in the history
…ut for home
  • Loading branch information
d116626 committed Feb 8, 2024
1 parent dce93d9 commit c989bb5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,13 +239,15 @@ def display_camera_details(row, cameras_identifications):

camera_identifications = cameras_identifications.loc[camera_id] # noqa
camera_identifications = camera_identifications.reset_index(drop=True)
camera_identifications.index = camera_identifications["label"].apply(

camera_identifications[""] = camera_identifications["label"].apply(
lambda x: get_icon_color(x, type="emoji")
)
camera_identifications.index = camera_identifications[""]

camera_identifications["timestamp"] = camera_identifications["timestamp"].apply(
lambda x: x.strftime("%d/%m/%Y %H:%M")
)

rename_columns = {
"timestamp": "Data Identificação",
"object": "Identificador",
Expand Down

0 comments on commit c989bb5

Please sign in to comment.