boazchung commited on
Commit
aa0ec51
1 Parent(s): a5e5b39

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +2 -2
index.html CHANGED
@@ -23,11 +23,11 @@
23
  const hf = new HfInference();
24
 
25
  // You can also omit "model" to use the recommended model for the task
26
- const result_tr = await hf.translation({
27
      model: 't5-base',
28
      inputs: 'My name is Wolfgang and I live in Amsterdam',
29
  });
30
- console.log(result_tr);
31
  </script>
32
  </body>
33
  </html>
 
23
  const hf = new HfInference();
24
 
25
  // You can also omit "model" to use the recommended model for the task
26
+ const result = await hf.translation({
27
      model: 't5-base',
28
      inputs: 'My name is Wolfgang and I live in Amsterdam',
29
  });
30
+ console.log(result);
31
  </script>
32
  </body>
33
  </html>