Skip to content

Commit

Permalink
change "download" to "load" since the user may be using the text field
Browse files Browse the repository at this point in the history
  • Loading branch information
rpendleton committed Feb 5, 2019
1 parent 60892af commit 5f7d6d9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions neural_nets.js
Expand Up @@ -562,16 +562,16 @@ function messageForSerializationError(error) {
return null;

case SERIALIZATION_INVALID_BASE64:
return 'Could not download net. Failed to base64 decode.';
return 'Could not load net. Failed to base64 decode.';

case SERIALIZATION_INVALID_LENGTH:
return 'Could not download net. Incorrect checksum or length.';
return 'Could not load net. Incorrect checksum or length.';

case SERIALIZATION_INVALID_VERSION:
return 'Could not download net. Unsupported serialization version.';
return 'Could not load net. Unsupported serialization version.';

default:
return 'Could not download net. Unexpected serialization error.';
return 'Could not load net. Unexpected serialization error.';
}
}

Expand Down

0 comments on commit 5f7d6d9

Please sign in to comment.