Update translation.html
Browse files- translation.html +1 -1
translation.html
CHANGED
|
@@ -89,7 +89,7 @@
|
|
| 89 |
}
|
| 90 |
|
| 91 |
async function translateText() {
|
| 92 |
-
const textFieldValue = document.getElementById("
|
| 93 |
|
| 94 |
let result = await hf.translation({
|
| 95 |
model: 't5-base',
|
|
|
|
| 89 |
}
|
| 90 |
|
| 91 |
async function translateText() {
|
| 92 |
+
const textFieldValue = document.getElementById("translationText2").value.trim();
|
| 93 |
|
| 94 |
let result = await hf.translation({
|
| 95 |
model: 't5-base',
|