Skip to content

Commit

Permalink
Merge branch 'main' into feature/accept-webrtc-turn-config-in-request
Browse files Browse the repository at this point in the history
  • Loading branch information
grzegorz-roboflow authored Nov 13, 2024
2 parents 05097d7 + a7e01e5 commit f3cbe6b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion inference/models/yolo_world/yolo_world.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import clip
import numpy as np
import torch
from ultralytics import YOLO
from ultralytics import YOLO, settings

from inference.core import logger
from inference.core.cache import cache
Expand All @@ -30,6 +30,10 @@
EMBEDDINGS_EXPIRE_TIMEOUT = 1800 # 30 min


settings.update({"sync": False})
settings.reset()


class YOLOWorld(RoboflowCoreModel):
"""YOLO-World class for zero-shot object detection.
Expand Down

0 comments on commit f3cbe6b

Please sign in to comment.