-
This commit is contained in:
parent
0e3b511721
commit
6ebb6d7c83
1 changed files with 3 additions and 1 deletions
|
@ -99,7 +99,7 @@ echo "<div class='current'>";
|
|||
echo "<img src=\"data:image/x-icon;base64,{$currentHit->getFeatureImgAsString("brows")}\" title=\"{$currentHit->getId()}\">";
|
||||
echo "<dl>";
|
||||
foreach(EmotionHero\Models\Emotions::$EMOTIONS as $emotion) {
|
||||
echo "<dt>$emotion</dt><dd>" . sprintf("$.2f", $currentHit->getEmotions()->getEmotionScore($emotion)) . "</dd>";
|
||||
echo "<dt>$emotion</dt><dd>" . sprintf("%.2f %%", $currentHit->getEmotions()->getEmotionScore($emotion)) . "</dd>";
|
||||
}
|
||||
echo "</dl>";
|
||||
echo "</div>";
|
||||
|
@ -163,6 +163,8 @@ echo <<< EOSVG
|
|||
</g>
|
||||
</svg>
|
||||
EOSVG;
|
||||
|
||||
print_r($currentHit->getPoints()->getAsArray());
|
||||
?>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in a new issue