docs: fix doc warnings

Refs: OPS-92
This commit is contained in:
Christoph J. Scherr 2025-03-27 16:00:15 +01:00
parent b1bd55d759
commit 22268beaba
No known key found for this signature in database
GPG key ID: 9EB784BB202BB7BB
2 changed files with 3 additions and 3 deletions

View file

@ -109,7 +109,7 @@ class Haiku:
:rtype: Haiku :rtype: Haiku
:raises: Exception if took the llm too many tries to write a fitting :raises: Exception if took the llm too many tries to write a fitting
haiku or JSONDecodeError if working with JSON failed haiku or JSONDecodeError if working with JSON failed
""" """
ai_gen_request = { ai_gen_request = {
"model": "haiku", "model": "haiku",

View file

@ -1,6 +1,6 @@
""" """
Senju Image Recognition Module Senju Image Recognition Module
============================= ==============================
A module providing image description generation capabilities for the Senju A module providing image description generation capabilities for the Senju
haiku application. haiku application.
@ -31,7 +31,7 @@ Dependencies
* transformers: Hugging Face's library providing access to pre-trained models * transformers: Hugging Face's library providing access to pre-trained models
Implementation Details Implementation Details
--------------------- ----------------------
The module initializes a BLIP model (Bootstrapped Language-Image Pre-training) The module initializes a BLIP model (Bootstrapped Language-Image Pre-training)
which can understand visual content and generate natural language descriptions. which can understand visual content and generate natural language descriptions.
The implementation handles image loading, preprocessing, model inference, The implementation handles image loading, preprocessing, model inference,