Fix images fixed order
This commit is contained in:
parent
8d4dc1b414
commit
c975392069
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ class InterfaceControllerProvider implements ControllerProviderInterface
|
||||||
$img = "data:image/x-icon;base64,".$hit->getFeatureImgAsString($feature);
|
$img = "data:image/x-icon;base64,".$hit->getFeatureImgAsString($feature);
|
||||||
$score = $hit->getEmotions()->getEmotionScore($emotion);
|
$score = $hit->getEmotions()->getEmotionScore($emotion);
|
||||||
$percentage = sprintf("%.0f %%",$score);
|
$percentage = sprintf("%.0f %%",$score);
|
||||||
$blocks[] = [
|
$blocks[$i] = [
|
||||||
'hit_id' => $hit->getId(),
|
'hit_id' => $hit->getId(),
|
||||||
'img_data' => $img,
|
'img_data' => $img,
|
||||||
'percentage' => $percentage,
|
'percentage' => $percentage,
|
||||||
|
|
Loading…
Reference in a new issue