Spaces:
Build error
Build error
File size: 766 Bytes
2a38a66 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Analysis Results</title>
</head>
<body>
<h1>Analysis Results</h1>
<h2>Original Comment:</h2>
<p>{{ result.original_comment }}</p>
<h2>Cleaned Comment:</h2>
<p>{{ result.cleaned_comment }}</p>
<h2>Sentiment Analysis:</h2>
<p>Label: {{ result.sentiment.label }}</p>
<p>Score: {{ result.sentiment.score }}</p>
<h2>Detected Entities:</h2>
<ul>
{% for entity in result.entities %}
<li>{{ entity.word }} - {{ entity.entity_group }} (Score: {{ entity.score }})</li>
{% endfor %}
</ul>
<a href="/">Analyze Another Comment</a>
</body>
</html> |