DriverTrac/venv/lib/python3.12/site-packages/roboflow/models/clip.py
2025-11-28 09:08:33 +05:30

17 lines
358 B
Python

from .inference import InferenceModel
class CLIPModel(InferenceModel):
"""
Run inference on CLIP, hosted on Roboflow.
"""
def __init__(self, api_key: str):
"""
Initialize a CLIP model.
Args:
api_key: Your Roboflow API key.
"""
super().__init__(api_key=api_key, version_id="BASE_MODEL")