diff --git a/web-app/templates/result.html b/web-app/templates/result.html
index 898c2468..2ce69fac 100644
--- a/web-app/templates/result.html
+++ b/web-app/templates/result.html
@@ -1,34 +1,52 @@
+
- Emotion Results
-
-
- Name |
- Emotion Message |
-
+
+
Emotion Results
+
+
{% for result in results %}
-
- {{ result.name }} |
- {{ result.emotion }} |
-
- {% endfor %}
-
-
+ {% if result.emotion is string and result.emotion.startswith('ERROR') %}
+
+
+ {% elif result.emotion is mapping %}
+
+
+
+
+ Emotion |
+ Score (%) |
+
+
+
+ {% for emotion, score in result.emotion.items() %}
+
+ {{ emotion }} |
+ {{ score | round(2) }} |
+
+ {% endfor %}
+
+
+ {% else %}
+
+
+ Unexpected result format.
+
+ {% endif %}
+ {% endfor %}
+
+
+
+
+
-
\ No newline at end of file
+