We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d55f738 commit 8e4d0e3Copy full SHA for 8e4d0e3
roboflow/models/classification.py
@@ -56,6 +56,10 @@ def __init__(
56
self.colors = {} if colors is None else colors
57
self.preprocessing = {} if preprocessing is None else preprocessing
58
59
+ if local is not None:
60
+ print("initalizing local classification model hosted at :" + local)
61
+ self.base_url = local
62
+
63
def predict(self, image_path, hosted=False):
64
"""
65
Run inference on an image.
0 commit comments