site: adjust to the new model

similarity_score was renamed to score.
This commit is contained in:
Lucas Gabriel Vuotto 2025-05-03 13:35:00 +00:00
parent 230c595e80
commit 291775bb04
2 changed files with 2 additions and 2 deletions

View file

@ -43,7 +43,7 @@
<div class="layout-flex-row gallery">
% for my $m ($similar_media->@*) {
<%= link_to $m->{show_media_url} => begin %>
<%= image $m->{media_src}, alt => "Score: $m->{similarity_score}" %>
<%= image $m->{media_src}, alt => "Score: $m->{score}" %>
<%= end %>
% }
</div>