Update mobilevit.html
Browse files- mobilevit.html +2 -2
mobilevit.html
CHANGED
|
@@ -146,9 +146,9 @@
|
|
| 146 |
const textFieldValue = document.getElementById("imageClassificationTopURLText").value.trim();
|
| 147 |
// classifier에 textFieldValue를 입력 변수로, topk 파라미터 값을 3으로 설정하여 classifer를 수행하고 그 결과를 result에 저장하십시오.
|
| 148 |
// To-Do: ???
|
| 149 |
-
const result = await classifier(
|
| 150 |
topk:3,
|
| 151 |
-
})
|
| 152 |
document.getElementById("outputAreaTop").innerText = JSON.stringify(result, null, 2);
|
| 153 |
}
|
| 154 |
// Initialize the model after the DOM is completely loaded
|
|
|
|
| 146 |
const textFieldValue = document.getElementById("imageClassificationTopURLText").value.trim();
|
| 147 |
// classifier에 textFieldValue를 입력 변수로, topk 파라미터 값을 3으로 설정하여 classifer를 수행하고 그 결과를 result에 저장하십시오.
|
| 148 |
// To-Do: ???
|
| 149 |
+
const result = await classifier(textFieldValue, {
|
| 150 |
topk:3,
|
| 151 |
+
});
|
| 152 |
document.getElementById("outputAreaTop").innerText = JSON.stringify(result, null, 2);
|
| 153 |
}
|
| 154 |
// Initialize the model after the DOM is completely loaded
|