Update translation.html
Browse files- translation.html +1 -1
translation.html
CHANGED
@@ -105,7 +105,7 @@
|
|
105 |
const model = document.getElementById("model").value.trim();
|
106 |
const prompt = document.getElementById("prompt").value.trim();
|
107 |
document.getElementById("logs").textContent = "";
|
108 |
-
|
109 |
model,
|
110 |
inputs: prompt,
|
111 |
parameters: { max_new_tokens: 250 }
|
|
|
105 |
const model = document.getElementById("model").value.trim();
|
106 |
const prompt = document.getElementById("prompt").value.trim();
|
107 |
document.getElementById("logs").textContent = "";
|
108 |
+
await (const result of hf.tanslation({
|
109 |
model,
|
110 |
inputs: prompt,
|
111 |
parameters: { max_new_tokens: 250 }
|