File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ switch (canCreate) {
197
197
case " after-download" : {
198
198
console .log (" Going to download a language model; sit tight!" );
199
199
ai .addEventListener (" textmodeldownloadprogress" , e => {
200
- console .log (" Download progress: ${e.loaded} / ${e.total} bytes." );
200
+ console .log (` Download progress: ${ e .loaded } / ${ e .total } bytes.` );
201
201
});
202
202
break ;
203
203
}
@@ -212,7 +212,7 @@ switch (canCreate) {
212
212
// after it completes, or reject if it fails or the session creation fails.
213
213
//
214
214
// * 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.
216
216
let session;
217
217
try {
218
218
session = await ai .createTextSession ();
You can’t perform that action at this time.
0 commit comments