Update app.py
Browse files
app.py
CHANGED
@@ -7,8 +7,8 @@ from landingai.common import decode_bitmap_rle
|
|
7 |
import cv2
|
8 |
import os
|
9 |
|
10 |
-
ENDPOINT_ID = os.environ.get
|
11 |
-
API_KEY = os.environ.get
|
12 |
API_URL = f"https://predict.app.landing.ai/inference/v1/predict?endpoint_id={ENDPOINT_ID}"
|
13 |
|
14 |
def predict_from_landinglens(image_path):
|
|
|
7 |
import cv2
|
8 |
import os
|
9 |
|
10 |
+
ENDPOINT_ID = os.environ.get("endpoint_id_cyclists_segmentation_model_nitish_borthakur")
|
11 |
+
API_KEY = os.environ.get("api_key_cyclists_segmentation_model_nitish_borthakur")
|
12 |
API_URL = f"https://predict.app.landing.ai/inference/v1/predict?endpoint_id={ENDPOINT_ID}"
|
13 |
|
14 |
def predict_from_landinglens(image_path):
|