- For Keras 2 compatibility, a generic type var `KerasTensor` is defined instead of using `keras.KerasTensor` directly, as the latter is only available in Keras 3. - Relax version requirement for Keras in setup config
0.13.4
- Allow passing a model `name` to the `make_open_nsfw_model` function. This will be used as the `name` attribute of the returned Keras model object. The default name is `opennsfw2`. - Fix logic for updating the internal global model variable.
0.13.2
- Use Keras 3 instead of Keras Core - Drop support for Python 3.8; add support for Python 3.11
0.12.1
- Improve internal batching logic for predicting from image paths.
0.12.0
- Improve support for using the APIs in a loop, in particular, reduce the memory usage due to re-creating the model object.
0.11.0
- Switch from `tf.keras` to `keras_core` - Include test run for JAX backend - Update README - Other minor fixes