boazchung commited on
Commit
e0983d1
1 Parent(s): 445cf4e

Update refs/_imgclf.html

Browse files
Files changed (1) hide show
  1. refs/_imgclf.html +1 -1
refs/_imgclf.html CHANGED
@@ -121,7 +121,7 @@
121
  const url = URL.createObjectURL(file);
122
  const result = await classifier(url, { topk: 3 });
123
  //console.log(result["label"]);
124
- document.getElementById("outputAreaLocal").innerText = JSON.stringify(result, null, 2); //result[1]["label"]
125
  }
126
  async function classifyTopImage() {
127
  const textFieldValue = document.getElementById("imageClassificationTopURLText").value.trim();
 
121
  const url = URL.createObjectURL(file);
122
  const result = await classifier(url, { topk: 3 });
123
  //console.log(result["label"]);
124
+ document.getElementById("outputAreaLocal").innerText = JSON.stringify(result[2], null, 2);
125
  }
126
  async function classifyTopImage() {
127
  const textFieldValue = document.getElementById("imageClassificationTopURLText").value.trim();