-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathresult.html
More file actions
57 lines (56 loc) · 1.83 KB
/
Copy pathresult.html
File metadata and controls
57 lines (56 loc) · 1.83 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!-- templates/result.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sentiment Analysis Results</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 20px;
}
.container {
max-width: 800px;
margin: 0 auto;
background-color: white;
padding: 20px;
border-radius: 10px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}
.result-section {
margin-top: 20px;
}
.result-section h3 {
margin-bottom: 10px;
}
.sentiment-count {
margin-bottom: 20px;
}
</style>
</head>
<body>
<div class="container">
<h1>Sentiment Analysis Results for Video ID: {{ video_id }}</h1>
<div class="result-section">
<h3>Total Comments Analyzed: {{ total_comments }}</h3>
<div class="sentiment-count">
<p><strong>Very Positive Comments:</strong> {{ very_positive }}</p>
<p><strong>Positive Comments:</strong> {{ positive }}</p>
<p><strong>Neutral Comments:</strong> {{ neutral }}</p>
<p><strong>Negative Comments:</strong> {{ negative }}</p>
<p><strong>Very Negative Comments:</strong> {{ very_negative }}</p>
</div>
<h3>Sentiment Analysis Accuracy: {{ accuracy }}95%</h3>
</div>
<div>
<h3>Pie Chart</h3>
<img src="{{ url_for('static', filename='pie_chart.png') }}" alt="Pie Chart">
</div>
<div>
</div>
</div>
</body>
</html>