Update translation.html
Browse files- translation.html +1 -1
translation.html
CHANGED
@@ -113,7 +113,7 @@
|
|
113 |
use_cache: false
|
114 |
}); //{
|
115 |
//document.getElementById("logs").textContent += output.token.text;
|
116 |
-
document.getElementById("logs").innerText = JSON.stringify(result, null, 2);
|
117 |
//}
|
118 |
} catch (err) {
|
119 |
alert("Error: " + err.message);
|
|
|
113 |
use_cache: false
|
114 |
}); //{
|
115 |
//document.getElementById("logs").textContent += output.token.text;
|
116 |
+
document.getElementById("logs").innerText = JSON.stringify(result["translation_text"], null, 2);
|
117 |
//}
|
118 |
} catch (err) {
|
119 |
alert("Error: " + err.message);
|