create "." separated caption

pull/87/head
Darshat Shah 2023-05-03 23:23:32 +05:30
parent a4dcf5d411
commit 168d65d5c4
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ class Model:
box_annotator = sv.BoxAnnotator()
annotated_image = box_annotator.annotate(scene=image, detections=detections)
"""
caption = ", ".join(classes)
caption = ". ".join(classes)
processed_image = Model.preprocess_image(image_bgr=image).to(self.device)
boxes, logits, phrases = predict(
model=self.model,