Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -96,18 +96,13 @@ st.markdown(
|
|
| 96 |
unsafe_allow_html=True,
|
| 97 |
)
|
| 98 |
|
| 99 |
-
# Боковая панель
|
| 100 |
-
st.sidebar.title("Navigation")
|
| 101 |
-
page = st.sidebar.radio("Select a page:", ["Main", "Camera", "Video Upload"])
|
| 102 |
|
| 103 |
# Установка параметров URL
|
| 104 |
st.experimental_set_query_params(page=page) # Вернем временно использование экспериментального метода
|
| 105 |
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
st.subheader("Russian Sign Language Recognition")
|
| 110 |
-
st.markdown("""
|
| 111 |
<div class="card fade-in">
|
| 112 |
<p>This application is designed to recognize sign language using a webcam feed. The model has been trained to recognize various sign language gestures and display the corresponding text in real-time.</p>
|
| 113 |
</div>
|
|
@@ -141,13 +136,6 @@ if page == "Main":
|
|
| 141 |
""", unsafe_allow_html=True)
|
| 142 |
st.image("image.webp", caption="Sign Language Recognition", use_column_width=True)
|
| 143 |
|
| 144 |
-
elif page == "Camera":
|
| 145 |
-
from pages import camera
|
| 146 |
-
camera.display()
|
| 147 |
-
|
| 148 |
-
elif page == "Video Upload":
|
| 149 |
-
from pages import video_upload
|
| 150 |
-
video_upload.display()
|
| 151 |
|
| 152 |
|
| 153 |
|
|
|
|
| 96 |
unsafe_allow_html=True,
|
| 97 |
)
|
| 98 |
|
|
|
|
|
|
|
|
|
|
| 99 |
|
| 100 |
# Установка параметров URL
|
| 101 |
st.experimental_set_query_params(page=page) # Вернем временно использование экспериментального метода
|
| 102 |
|
| 103 |
+
st.title("GestureGuru")
|
| 104 |
+
st.subheader("Russian Sign Language Recognition")
|
| 105 |
+
st.markdown("""
|
|
|
|
|
|
|
| 106 |
<div class="card fade-in">
|
| 107 |
<p>This application is designed to recognize sign language using a webcam feed. The model has been trained to recognize various sign language gestures and display the corresponding text in real-time.</p>
|
| 108 |
</div>
|
|
|
|
| 136 |
""", unsafe_allow_html=True)
|
| 137 |
st.image("image.webp", caption="Sign Language Recognition", use_column_width=True)
|
| 138 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 139 |
|
| 140 |
|
| 141 |
|