BennoKrojer commited on
Commit
60a8ee6
·
1 Parent(s): 8ecfeb7
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -8,7 +8,7 @@ import random
8
  import io
9
 
10
  st.set_page_config(layout="wide")
11
- col1, col2 = st.columns(2)
12
 
13
  m = st.markdown("""
14
  <style>
@@ -21,9 +21,8 @@ prefix = 'https://raw.githubusercontent.com/BennoKrojer/imagecode-val-set/main/i
21
  set2ids = json.load(open('set2ids.json', 'r'))
22
  descriptions = json.load(open('valid_list.json', 'r'))
23
 
24
- col11, col12 = col1.columns(2)
25
- show = col11.button("1")
26
- hide = col12.button("2")
27
 
28
  example = int()
29
  example_idx = int(col1.number_input('Sample an example from the validation set', value=0, min_value=0, max_value=len(descriptions)-1))
 
8
  import io
9
 
10
  st.set_page_config(layout="wide")
11
+ col1, col2, col3 = st.columns(3)
12
 
13
  m = st.markdown("""
14
  <style>
 
21
  set2ids = json.load(open('set2ids.json', 'r'))
22
  descriptions = json.load(open('valid_list.json', 'r'))
23
 
24
+ show = col3.button("1")
25
+ hide = col3.button('2')
 
26
 
27
  example = int()
28
  example_idx = int(col1.number_input('Sample an example from the validation set', value=0, min_value=0, max_value=len(descriptions)-1))