boazchung commited on
Commit
eaab7c0
1 Parent(s): 016393e

Update translation.html

Browse files
Files changed (1) hide show
  1. translation.html +2 -0
translation.html CHANGED
@@ -77,7 +77,9 @@
77
  // Initialize the sentiment analysis model
78
  async function initializeModel() {
79
  const token = document.getElementById('hf-token').value;
 
80
  hf = new HfInference(token);
 
81
  }
82
 
83
  async function translateText() {
 
77
  // Initialize the sentiment analysis model
78
  async function initializeModel() {
79
  const token = document.getElementById('hf-token').value;
80
+ console.log(token);
81
  hf = new HfInference(token);
82
+ console.log(hf);
83
  }
84
 
85
  async function translateText() {