Spaces:
Paused
Paused
Disable front-facing camera view option in UI
Browse files- Remove 'Front Facing (Face-On)' option from camera view selection
- Keep all front-facing metric functionality intact for future use
- Only allow 'Down the Line (DTL)' video analysis for now
- Update help text to indicate front-facing view is temporarily disabled
- app/streamlit_app.py +3 -3
app/streamlit_app.py
CHANGED
|
@@ -1518,15 +1518,15 @@ def render_step_1():
|
|
| 1518 |
"""Step 1: Upload Swing Video"""
|
| 1519 |
st.markdown('<h2 style="color: #0B3B0B; font-family: Georgia, serif;">Step 1: Upload Your Video</h2>', unsafe_allow_html=True)
|
| 1520 |
|
| 1521 |
-
# Camera view selection
|
| 1522 |
st.markdown("### 📹 Select Camera View <span style='color: red;'>*</span>", unsafe_allow_html=True)
|
| 1523 |
camera_view = st.radio(
|
| 1524 |
"Choose the camera angle of your video:",
|
| 1525 |
-
options=["", "Down the Line (DTL)",
|
| 1526 |
index=0, # Default to empty selection
|
| 1527 |
key="camera_view",
|
| 1528 |
horizontal=True,
|
| 1529 |
-
help="DTL: Camera positioned behind/in front of golfer along target line.
|
| 1530 |
)
|
| 1531 |
|
| 1532 |
# Show validation message if no camera view selected
|
|
|
|
| 1518 |
"""Step 1: Upload Swing Video"""
|
| 1519 |
st.markdown('<h2 style="color: #0B3B0B; font-family: Georgia, serif;">Step 1: Upload Your Video</h2>', unsafe_allow_html=True)
|
| 1520 |
|
| 1521 |
+
# Camera view selection - Front Facing disabled for now
|
| 1522 |
st.markdown("### 📹 Select Camera View <span style='color: red;'>*</span>", unsafe_allow_html=True)
|
| 1523 |
camera_view = st.radio(
|
| 1524 |
"Choose the camera angle of your video:",
|
| 1525 |
+
options=["", "Down the Line (DTL)"], # Front Facing option temporarily disabled
|
| 1526 |
index=0, # Default to empty selection
|
| 1527 |
key="camera_view",
|
| 1528 |
horizontal=True,
|
| 1529 |
+
help="DTL: Camera positioned behind/in front of golfer along target line. (Front Facing view temporarily disabled)"
|
| 1530 |
)
|
| 1531 |
|
| 1532 |
# Show validation message if no camera view selected
|