Spaces:
Runtime error
Runtime error
dynamicmortal
commited on
Commit
•
314040c
1
Parent(s):
16e821f
Upload index.html
Browse files- templates/index.html +24 -0
templates/index.html
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
+
<title>Analysis Results</title>
|
7 |
+
</head>
|
8 |
+
<body>
|
9 |
+
<h1>Analysis Results</h1>
|
10 |
+
|
11 |
+
<h2>Transcript</h2>
|
12 |
+
<p>{{ result.transcript }}</p>
|
13 |
+
|
14 |
+
<h2>Sentiment</h2>
|
15 |
+
<p>Score: {{ result.sentiment.score }}, Label: {{ result.sentiment.label }}</p>
|
16 |
+
|
17 |
+
<h2>Emotion</h2>
|
18 |
+
<ul>
|
19 |
+
{% for emotion in result.emotion %}
|
20 |
+
<li>{{ emotion.label }}: {{ emotion.score }}</li>
|
21 |
+
{% endfor %}
|
22 |
+
</ul>
|
23 |
+
</body>
|
24 |
+
</html>
|