laverdes commited on
Commit
cddc985
β€’
1 Parent(s): 3e434c3

chore: include new samples in options

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -63,7 +63,7 @@ with st.sidebar:
63
  information = st.radio(
64
  "Choose one predictor:?",
65
  ('Base Common-Crawl 🍩', 'Hierarchical Common-Crawl 🍩'))
66
- image_choice = st.selectbox('Pick one πŸ“‘', ['1', '2', '3'], index=1)
67
 
68
  st.text(f'{information} mode is ON!\nTarget πŸ“‘: {image_choice}') # \n(opening image @:./img/receipt-{receipt}.png)')
69
 
@@ -72,7 +72,9 @@ col1, col2 = st.columns(2)
72
  image_choice_map = {
73
  '1': 'commoncrawl_amandalacombznewspolice-bust-man-sawed-oal_1.jpg',
74
  '2': 'commoncrawl_canyonhillschroniclecomtagwomens-basketbll_0.png',
75
- '3': 'commoncrawl_celstuttgartdeideaa-different-stort-of-nfe_0.png'
 
 
76
  }
77
  image = Image.open(f'samples/{image_choice_map[image_choice]}')
78
  with col1:
 
63
  information = st.radio(
64
  "Choose one predictor:?",
65
  ('Base Common-Crawl 🍩', 'Hierarchical Common-Crawl 🍩'))
66
+ image_choice = st.selectbox('Pick one πŸ“‘', ['1', '2', '3', '4', '5'], index=1)
67
 
68
  st.text(f'{information} mode is ON!\nTarget πŸ“‘: {image_choice}') # \n(opening image @:./img/receipt-{receipt}.png)')
69
 
 
72
  image_choice_map = {
73
  '1': 'commoncrawl_amandalacombznewspolice-bust-man-sawed-oal_1.jpg',
74
  '2': 'commoncrawl_canyonhillschroniclecomtagwomens-basketbll_0.png',
75
+ '3': 'commoncrawl_celstuttgartdeideaa-different-stort-of-nfe_0.png',
76
+ '4': 'commoncrawl_abusoftbplacednetsearchphpsearchidunanswae_0.png',
77
+ '5': 'commoncrawl_addxorrolblogspotcomessays-about-managemml_1.png'
78
  }
79
  image = Image.open(f'samples/{image_choice_map[image_choice]}')
80
  with col1: