Skip to content

Commit

Permalink
Update TfliteModule.java
Browse files Browse the repository at this point in the history
  • Loading branch information
mrousavy committed Jan 31, 2024
1 parent e2f49e8 commit ca4d370
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion android/src/main/java/com/tflite/TfliteModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ public static byte[] fetchByteDataFromUrl(String url) throws Exception {
}
} else {
// It's a bird? it's a plane? not it's an error
throw new Exception("Input is neither a valid URL, nor a resourceId - cannot load TFLite model!");
throw new Exception("Input is neither a valid URL, nor a resourceId - " +
"cannot load TFLite model! (Input: " + url + ")");
}
}

Expand Down

0 comments on commit ca4d370

Please sign in to comment.