Spaces:
Sleeping
Sleeping
Yazhou Cao
commited on
Commit
•
54bf311
1
Parent(s):
2c6e8dc
Update endpoint ID
Browse files
app.py
CHANGED
@@ -105,7 +105,7 @@ def _show_error_message(expected_len, preds, img_file, pred_name):
|
|
105 |
@st.cache_data
|
106 |
def inference(image_file) -> List[Prediction]:
|
107 |
image = Image.open(image_file).convert("RGB")
|
108 |
-
predictor = Predictor(endpoint_id="
|
109 |
logging.info("Running Poker prediction")
|
110 |
preds = predictor.predict(image)
|
111 |
preds = _dedup_preds(preds)
|
|
|
105 |
@st.cache_data
|
106 |
def inference(image_file) -> List[Prediction]:
|
107 |
image = Image.open(image_file).convert("RGB")
|
108 |
+
predictor = Predictor(endpoint_id="2549edc1-35ad-45aa-b27e-f49e79f5922e")
|
109 |
logging.info("Running Poker prediction")
|
110 |
preds = predictor.predict(image)
|
111 |
preds = _dedup_preds(preds)
|