Spaces:
Running
Running
Nattapong Tapachoom
commited on
Commit
·
8142326
1
Parent(s):
4ff23b9
Fix typo in sentiment analysis output formatting
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ def analyze_text(text):
|
|
53 |
result_text = f"""
|
54 |
🔸 **ประโยคที่ {i}:** "{sentence}"
|
55 |
|
56 |
-
{style['emoji']} **ผลวิเคราะห์:** {label_name.upper()} (
|
57 |
📈 **ความมั่นใจ:** {score:.2f} ({score*100:.1f}%)
|
58 |
{progress_bar} {score:.2f}
|
59 |
|
|
|
53 |
result_text = f"""
|
54 |
🔸 **ประโยคที่ {i}:** "{sentence}"
|
55 |
|
56 |
+
{style['emoji']} **ผลวิเคราะห์:** {label_name.upper()} (รหัส: {code})
|
57 |
📈 **ความมั่นใจ:** {score:.2f} ({score*100:.1f}%)
|
58 |
{progress_bar} {score:.2f}
|
59 |
|