Skip to content

Commit

Permalink
fix: remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
tamis-laan committed Feb 24, 2024
1 parent 8faca44 commit b95b49a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gpt/gpt.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Sleep
// Sleep in milliseconds
function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
Expand All @@ -10,9 +10,9 @@ async function tokeniser(path) {
if (!response.ok) {
throw new Error('Network response was not ok');
}
const data = await response.json();

console.log(data)
// Get the json data
const data = await response.json();

// Construct encoder
const encode = s => Array.from(s, c => data.stoi[c]);
Expand Down

0 comments on commit b95b49a

Please sign in to comment.