boazchung commited on
Commit
0247c76
1 Parent(s): 9a136a9

Update _se.html

Browse files
Files changed (1) hide show
  1. _se.html +1 -1
_se.html CHANGED
@@ -122,7 +122,7 @@
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() {
 
122
 
123
  const result = await sentimentAnalysis(textFieldValue);
124
 
125
+ document.getElementById("outputArea").innerText = JSON.stringify(result, ['label'], 2); //result[0]["label"]
126
  }
127
 
128
  async function analyzeSentimentMulti() {