Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions roboflow/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ def get_conditional_configuration_variable(key, default):
UNIVERSE_URL = get_conditional_configuration_variable("UNIVERSE_URL", "https://universe.roboflow.com")

INSTANCE_SEGMENTATION_URL = get_conditional_configuration_variable(
"INSTANCE_SEGMENTATION_URL", "https://outline.roboflow.com"
"INSTANCE_SEGMENTATION_URL", "https://serverless.roboflow.com"
)
SEMANTIC_SEGMENTATION_URL = get_conditional_configuration_variable(
"SEMANTIC_SEGMENTATION_URL", "https://segment.roboflow.com"
)
OBJECT_DETECTION_URL = get_conditional_configuration_variable("OBJECT_DETECTION_URL", "https://detect.roboflow.com")
OBJECT_DETECTION_URL = get_conditional_configuration_variable("OBJECT_DETECTION_URL", "https://serverless.roboflow.com")

CLIP_FEATURIZE_URL = get_conditional_configuration_variable("CLIP_FEATURIZE_URL", "CLIP FEATURIZE URL NOT IN ENV")
OCR_URL = get_conditional_configuration_variable("OCR_URL", "OCR URL NOT IN ENV")
Expand Down
2 changes: 1 addition & 1 deletion roboflow/models/classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def __init__(
self.id = id
self.name = name
self.version = version
self.base_url = "https://classify.roboflow.com/"
self.base_url = "https://serverless.roboflow.com/"

if self.name is not None and version is not None:
self.__generate_url()
Expand Down
2 changes: 1 addition & 1 deletion roboflow/models/keypoint_detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def __init__(
self.id = id
self.name = name
self.version = version
self.base_url = "https://detect.roboflow.com/"
self.base_url = "https://serverless.roboflow.com/"

if self.name is not None and version is not None:
self.__generate_url()
Expand Down
4 changes: 2 additions & 2 deletions roboflow/models/object_detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def predict( # type: ignore[override]
def webcam(
self,
webcam_id=0,
inference_engine_url="https://detect.roboflow.com/",
inference_engine_url="https://serverless.roboflow.com/",
within_jupyter=False,
confidence=40,
overlap=30,
Expand All @@ -291,7 +291,7 @@ def webcam(

Args:
webcam_id (int): Webcam ID (default 0)
inference_engine_url (str): Inference engine address to use (default https://detect.roboflow.com)
inference_engine_url (str): Inference engine address to use (default https://serverless.roboflow.com)
within_jupyter (bool): Whether or not to display the webcam within Jupyter notebook (default True)
confidence (int): Confidence threshold for detections
overlap (int): Overlap threshold for detections
Expand Down
2 changes: 1 addition & 1 deletion tests/models/test_instance_segmentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class TestInstanceSegmentation(unittest.TestCase):
dataset_id = "test-123"
version = "23"

api_url = f"https://outline.roboflow.com/{dataset_id}/{version}"
api_url = f"https://serverless.roboflow.com/{dataset_id}/{version}"

_default_params = {
"api_key": api_key,
Expand Down
Loading