Update translation.html
Browse files- translation.html +1 -1
translation.html
CHANGED
|
@@ -76,7 +76,7 @@
|
|
| 76 |
|
| 77 |
// Initialize the sentiment analysis model
|
| 78 |
async function initializeModel() {
|
| 79 |
-
const token = document.getElementById(
|
| 80 |
console.log(token);
|
| 81 |
hf = new HfInference(token);
|
| 82 |
console.log(hf);
|
|
|
|
| 76 |
|
| 77 |
// Initialize the sentiment analysis model
|
| 78 |
async function initializeModel() {
|
| 79 |
+
const token = document.getElementById("hf-token").value;
|
| 80 |
console.log(token);
|
| 81 |
hf = new HfInference(token);
|
| 82 |
console.log(hf);
|