MaxReimann
commited on
Commit
•
1dc0d66
1
Parent(s):
dc6a058
make hueshift show as default
Browse files
Whitebox_style_transfer.py
CHANGED
@@ -284,7 +284,7 @@ with coll2:
|
|
284 |
|
285 |
others_idx = set(range(len(effect.vpd.vp_ranges))) - set([effect.vpd.name2idx[name] for name in sum(params_mapping.values(), [])])
|
286 |
others_names = [effect.vpd.vp_ranges[i][0] for i in sorted(list(others_idx))]
|
287 |
-
other_param = st.selectbox("Other parameters: ", others_names)
|
288 |
create_slider(other_param)
|
289 |
|
290 |
|
|
|
284 |
|
285 |
others_idx = set(range(len(effect.vpd.vp_ranges))) - set([effect.vpd.name2idx[name] for name in sum(params_mapping.values(), [])])
|
286 |
others_names = [effect.vpd.vp_ranges[i][0] for i in sorted(list(others_idx))]
|
287 |
+
other_param = st.selectbox("Other parameters: ", ["hueShift"] + [n for n in others_names if n != "hueShift"] )
|
288 |
create_slider(other_param)
|
289 |
|
290 |
|