Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -94,21 +94,6 @@ st.markdown("""
|
|
| 94 |
</div>
|
| 95 |
""", unsafe_allow_html=True)
|
| 96 |
|
| 97 |
-
# --- Upload block (updated visual style) ---
|
| 98 |
-
st.markdown("""
|
| 99 |
-
<div class="section">
|
| 100 |
-
<h3>📷 Try it now</h3>
|
| 101 |
-
<p>Upload a frame or short clip for recognition.</p>
|
| 102 |
-
""", unsafe_allow_html=True)
|
| 103 |
-
uploaded_file = st.file_uploader("Upload an image", type=["jpg", "jpeg", "png"])
|
| 104 |
-
if uploaded_file:
|
| 105 |
-
img = Image.open(uploaded_file)
|
| 106 |
-
st.image(img, caption="Uploaded frame", use_column_width=True)
|
| 107 |
-
st.success("🚀 Image uploaded successfully. Gesture recognition will be applied.")
|
| 108 |
-
else:
|
| 109 |
-
st.info("Please upload an image to test recognition.")
|
| 110 |
-
st.markdown("</div>", unsafe_allow_html=True)
|
| 111 |
-
|
| 112 |
# --- Contact block ---
|
| 113 |
st.markdown("""
|
| 114 |
<div class="section" style="text-align: center; background: linear-gradient(90deg, #fc466b, #3f5efb); color: white;">
|
|
|
|
| 94 |
</div>
|
| 95 |
""", unsafe_allow_html=True)
|
| 96 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 97 |
# --- Contact block ---
|
| 98 |
st.markdown("""
|
| 99 |
<div class="section" style="text-align: center; background: linear-gradient(90deg, #fc466b, #3f5efb); color: white;">
|