Skip to content

Commit 74d2321

Browse files
authored
Fix some typos
1 parent d6b943d commit 74d2321

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ switch (canCreate) {
197197
case "after-download": {
198198
console.log("Going to download a language model; sit tight!");
199199
ai.addEventListener("textmodeldownloadprogress", e => {
200-
console.log("Download progress: ${e.loaded} / ${e.total} bytes.");
200+
console.log(`Download progress: ${e.loaded} / ${e.total} bytes.`);
201201
});
202202
break;
203203
}
@@ -212,7 +212,7 @@ switch (canCreate) {
212212
// after it completes, or reject if it fails or the session creation fails.
213213
//
214214
// * If canCreate was "readily", this will fulfill or reject relatively quickly, based
215-
// on whether session creation succeeeds or fails.
215+
// on whether session creation succeeds or fails.
216216
let session;
217217
try {
218218
session = await ai.createTextSession();

0 commit comments

Comments
 (0)