Spaces:
Running
Running
Update _se.html
Browse files
_se.html
CHANGED
|
@@ -122,7 +122,7 @@
|
|
| 122 |
|
| 123 |
const result = await sentimentAnalysis(textFieldValue);
|
| 124 |
|
| 125 |
-
document.getElementById("outputArea").innerText = JSON.stringify(result[0]
|
| 126 |
}
|
| 127 |
|
| 128 |
async function analyzeSentimentMulti() {
|
|
|
|
| 122 |
|
| 123 |
const result = await sentimentAnalysis(textFieldValue);
|
| 124 |
|
| 125 |
+
document.getElementById("outputArea").innerText = JSON.stringify(result[0].label, null, 2); //result[0]["label"]
|
| 126 |
}
|
| 127 |
|
| 128 |
async function analyzeSentimentMulti() {
|