boazchung commited on
Commit
86b47ab
1 Parent(s): 5b8cf24

Update translation.html

Browse files
Files changed (1) hide show
  1. 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 (const result of hf.tanslation({
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 }