[EXAMPLES][Cleanup][Kosmos]

pull/378/head
Kye 11 months ago
parent 537f81f932
commit a552a98373

@ -1,10 +0,0 @@
from swarms.models.kosmos2 import Kosmos2
from PIL import Image
model = Kosmos2.initialize()
image = Image.open("images/swarms.jpg")
detections = model(image)
print(detections)

@ -1,11 +0,0 @@
from swarms.models.kosmos_two import Kosmos
# Initialize Kosmos
kosmos = Kosmos()
# Perform multimodal grounding
out = kosmos.multimodal_grounding(
"Find the red apple in the image.", "images/swarms.jpeg"
)
print(out)

@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "swarms"
version = "4.0.1"
version = "4.0.2"
description = "Swarms - Pytorch"
license = "MIT"
authors = ["Kye Gomez <kye@apac.ai>"]

Loading…
Cancel
Save