Yazhou Cao commited on
Commit
4c849c3
·
1 Parent(s): 346f4c8
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -1,6 +1,5 @@
1
  import logging
2
  from typing import List
3
- import extra_streamlit_components as stx
4
 
5
  import numpy as np
6
  import streamlit as st
@@ -13,11 +12,11 @@ from PIL import Image
13
  from holdem import run_simulation
14
  import simulation as s
15
 
16
- setup_page(page_title="LandingLens")
17
 
18
  Image.MAX_IMAGE_PIXELS = None
19
 
20
- _NUM_PLAYERS = 2
21
  _HAND = "hand"
22
  _FLOP = "flop"
23
 
@@ -107,7 +106,6 @@ def _run_inference(image_file) -> List[Prediction]:
107
  logging.info(
108
  f"Poker prediction done successfully against {image_file} with {len(preds)} predictions."
109
  )
110
- # st.write(preds)
111
  return preds
112
 
113
 
 
1
  import logging
2
  from typing import List
 
3
 
4
  import numpy as np
5
  import streamlit as st
 
12
  from holdem import run_simulation
13
  import simulation as s
14
 
15
+ setup_page(page_title="LandingLens Holdem Odds Calculator")
16
 
17
  Image.MAX_IMAGE_PIXELS = None
18
 
19
+
20
  _HAND = "hand"
21
  _FLOP = "flop"
22
 
 
106
  logging.info(
107
  f"Poker prediction done successfully against {image_file} with {len(preds)} predictions."
108
  )
 
109
  return preds
110
 
111