Serverless Hosted API
Roboflow क्लाउड में GPU-accelerated auto-scaling इन्फ्रास्ट्रक्चर पर Workflows और Model Inference चलाएँ।
Inference server
from inference_sdk import InferenceHTTPClient
CLIENT = InferenceHTTPClient(
# api_url="http://localhost:9001" # Self-hosted Inference server
api_url="https://serverless.roboflow.com", # Our Serverless hosted API
api_key="API_KEY" # optional to access your private models and data
)
result = CLIENT.infer("image.jpg", model_id="model-id/1")
print(result)सीमैाएँ
Last updated
Was this helpful?