Skip to content

0.14.1

Choose a tag to compare

@decitre decitre released this 25 Nov 05:40
· 33 commits to main since this release

Backwards-compatible additions to the camera and microphone widgets, two Voici apps, and fuller documentation.

Added

  • Two Voici apps, built into their own site: object detection with the camera (take a shot, see the objects, retry), and English speech to French speech (record, translate, hear it). See https://decitre.github.io/lmlite/guides/apps.html.
  • CameraCapture options for apps with their own buttons: controls, autostart, show_photo; the running trait; the start(), take() and stop() methods.
  • AudioRecorder options for the same: controls and the active trait; the record() and stop() methods.
  • A quiet option on LLM.create(), Embedder.create(), Classifier.create() and pipeline(): no progress bar and no loading messages.
  • An API reference generated from the docstrings (https://decitre.github.io/lmlite/reference/api.html), a credits page, an AGENTS.md for contributors and coding agents, and an llms.txt index of the docs.

Fixed

  • The camera widget keeps the camera on when the browser refuses to start the preview (Brave on Android did after the permission prompt): tap the picture to start it.

Changed

  • Fuller docstrings for the whole public API: arguments, return values, errors and examples. They show in help() and in editors.
  • A shorter README, with a chat-with-memory example, a picture generated with SD-Turbo, and four highlighted notebooks.
  • The unsupported-task error of pipeline() points to LLM, Embedder and Classifier for text generation, embeddings and classification.
  • The error of a closed Tokenizer says to load it again with tokenizer().