Skip to content

armgit / txtai

Public Imported from GitHub
0

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

Add dependency

davidmezzetti8551f2f61f4c
diff --git a/setup.py b/setup.py
index dd1bd233..9d21aa97 100644
--- a/setup.py
+++ b/setup.py
@@ -32,6 +32,7 @@ extras["pipeline"] = [
"sentencepiece>=0.1.91",
"soundfile>=0.10.3.post1",
"tika>=1.24",
+ "timm>=0.4.12",
]
extras["similarity"] = [
diff --git a/src/python/txtai/pipeline/image/caption.py b/src/python/txtai/pipeline/image/caption.py
index 8a494cf8..0e9976b5 100644
--- a/src/python/txtai/pipeline/image/caption.py
+++ b/src/python/txtai/pipeline/image/caption.py
@@ -11,7 +11,7 @@ from ..hfmodel import HFModel
class Caption(HFModel):
"""
- Transcribes audio files to text.
+ Constructs captions for images.
"""
def __init__(self, path="ydshieh/vit-gpt2-coco-en", quantize=False, gpu=True, batch=64):