Yazhou Cao commited on
Commit
54bf311
1 Parent(s): 2c6e8dc

Update endpoint ID

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="ecab49f5-9047-4d5a-8c92-b7ad8e908324")
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)