4kasha
commited on
Commit
·
44be04c
1
Parent(s):
2a73cd9
fix
Browse files
app.py
CHANGED
@@ -62,7 +62,7 @@ def main():
|
|
62 |
11,
|
63 |
value=9,
|
64 |
)
|
65 |
-
is_centering = st.sidebar.
|
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.
|
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(
|