From 5f7d6d90d654755223d42cea93c047a42984d67c Mon Sep 17 00:00:00 2001 From: Ryan Pendleton Date: Mon, 4 Feb 2019 20:56:06 -0700 Subject: [PATCH] change "download" to "load" since the user may be using the text field --- neural_nets.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/neural_nets.js b/neural_nets.js index ab4e993..d24140c 100644 --- a/neural_nets.js +++ b/neural_nets.js @@ -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.'; } }