Update handler.py
Browse files- handler.py +2 -2
handler.py
CHANGED
|
@@ -22,8 +22,8 @@ class EndpointHandler:
|
|
| 22 |
os.getcwd()
|
| 23 |
inputs = data.get("inputs")
|
| 24 |
isurl = inputs.get("isurl")
|
| 25 |
-
|
| 26 |
-
path = "http://10.10.2.100/cam-lo.jpg"
|
| 27 |
|
| 28 |
model = self.model
|
| 29 |
########################### Load Image #################################
|
|
|
|
| 22 |
os.getcwd()
|
| 23 |
inputs = data.get("inputs")
|
| 24 |
isurl = inputs.get("isurl")
|
| 25 |
+
path = inputs.get("path")
|
| 26 |
+
# path = "http://10.10.2.100/cam-lo.jpg"
|
| 27 |
|
| 28 |
model = self.model
|
| 29 |
########################### Load Image #################################
|