Repository navigation
0.14.1
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.
CameraCaptureoptions for apps with their own buttons:controls,autostart,show_photo; therunningtrait; thestart(),take()andstop()methods.AudioRecorderoptions for the same:controlsand theactivetrait; therecord()andstop()methods.- A
quietoption onLLM.create(),Embedder.create(),Classifier.create()andpipeline(): 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.mdfor contributors and coding agents, and anllms.txtindex 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 toLLM,EmbedderandClassifierfor text generation, embeddings and classification. - The error of a closed
Tokenizersays to load it again withtokenizer().