pdufour commited on
Commit
8fa488a
·
verified ·
1 Parent(s): 44a6e1e

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +3 -1
index.js CHANGED
@@ -275,7 +275,9 @@ export async function imageTextToText(
275
  ) {
276
  throw new Error(`Token ID is not an integer`);
277
  } else {
278
- const decoded = tokenizer.decode([...token_id.data])
 
 
279
  output += decoded;
280
  }
281
  }
 
275
  ) {
276
  throw new Error(`Token ID is not an integer`);
277
  } else {
278
+ const decoded = tokenizer.decode([...token_id.data]);
279
+ console.log({decoded});
280
+
281
  output += decoded;
282
  }
283
  }