Spaces:
Running
Running
Colin Leong
commited on
Commit
·
a98d628
1
Parent(s):
2c41942
CDL: minor changes/cleanup
Browse files
app.py
CHANGED
@@ -142,12 +142,11 @@ if uploaded_file is not None:
|
|
142 |
# Filter button logic
|
143 |
# Filter section
|
144 |
st.write("### Filter .pose File")
|
145 |
-
filtered = st.button("Filter")
|
146 |
if filtered:
|
147 |
pose = pose.get_components(chosen_component_names, points=points_dict if points_dict else None)
|
148 |
if hide_legs:
|
149 |
pose = pose_hide_legs(pose)
|
150 |
-
|
151 |
st.session_state.filtered_pose = pose
|
152 |
|
153 |
filtered_pose = st.session_state.get('filtered_pose', pose)
|
|
|
142 |
# Filter button logic
|
143 |
# Filter section
|
144 |
st.write("### Filter .pose File")
|
145 |
+
filtered = st.button("Apply Filter!")
|
146 |
if filtered:
|
147 |
pose = pose.get_components(chosen_component_names, points=points_dict if points_dict else None)
|
148 |
if hide_legs:
|
149 |
pose = pose_hide_legs(pose)
|
|
|
150 |
st.session_state.filtered_pose = pose
|
151 |
|
152 |
filtered_pose = st.session_state.get('filtered_pose', pose)
|