Spaces:
Running
Running
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 |
-
await (
|
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 (let result of hf.tanslation({
|
109 |
model,
|
110 |
inputs: prompt,
|
111 |
parameters: { max_new_tokens: 250 }
|