Spaces:
Sleeping
Sleeping
lukestanley
commited on
Commit
·
b68eb49
1
Parent(s):
52ff483
Show scores as percentages
Browse files
app.py
CHANGED
@@ -64,9 +64,9 @@ def chill_out(text):
|
|
64 |
<h4>Details:</h4>
|
65 |
<ul>
|
66 |
<li>Critique: {result['critique']}</li>
|
67 |
-
<li>Faithfulness score: {result['faithfulness_score']}</li>
|
68 |
-
<li>Spicy score: {result['spicy_score']}</li>
|
69 |
-
<li>Overall score: {result['overall_score']}</li>
|
70 |
<li>LLM requests made: {result['request_count']}</li>
|
71 |
</ul>
|
72 |
</div>
|
|
|
64 |
<h4>Details:</h4>
|
65 |
<ul>
|
66 |
<li>Critique: {result['critique']}</li>
|
67 |
+
<li>Faithfulness score: {result['faithfulness_score']:.0%}</li>
|
68 |
+
<li>Spicy score: {result['spicy_score']:.0%}</li>
|
69 |
+
<li>Overall score: {result['overall_score']:.0%}</li>
|
70 |
<li>LLM requests made: {result['request_count']}</li>
|
71 |
</ul>
|
72 |
</div>
|