4kasha commited on
Commit
44be04c
·
1 Parent(s): 2a73cd9
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -62,7 +62,7 @@ def main():
62
  11,
63
  value=9,
64
  )
65
- is_centering = st.sidebar.toggle("centering embeddings", value=True)
66
  ot_type = st.sidebar.radio(
67
  "type",
68
  ["OT", "POT", "UOT"],
@@ -71,7 +71,7 @@ def main():
71
  help="optimal transport algorithm to be used",
72
  )
73
  ot_type = ot_type.lower()
74
- sinkhorn = st.sidebar.toggle(
75
  "sinkhorn", value=True, help="use sinkhorn algorithm"
76
  )
77
  distortion = st.sidebar.slider(
 
62
  11,
63
  value=9,
64
  )
65
+ is_centering = st.sidebar.checkbox("centering embeddings", value=True)
66
  ot_type = st.sidebar.radio(
67
  "type",
68
  ["OT", "POT", "UOT"],
 
71
  help="optimal transport algorithm to be used",
72
  )
73
  ot_type = ot_type.lower()
74
+ sinkhorn = st.sidebar.checkbox(
75
  "sinkhorn", value=True, help="use sinkhorn algorithm"
76
  )
77
  distortion = st.sidebar.slider(