osheina commited on
Commit
30bc6a9
·
verified ·
1 Parent(s): 21fb94e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -7
app.py CHANGED
@@ -19,7 +19,8 @@ st.markdown(
19
 
20
  /* Стиль боковой панели */
21
  .sidebar .sidebar-content {
22
- background-color: #ffffff;
 
23
  }
24
 
25
  /* Обертка для блока контента */
@@ -68,14 +69,10 @@ st.subheader("Welcome to the Sign Language Recognition App!")
68
  st.markdown("""
69
  This application is designed to recognize sign language using a webcam feed.
70
  The model has been trained to recognize various sign language gestures and display the corresponding text in real-time.
71
-
72
- The demo app is based on code from [GitHub](https://github.com/ai-forever/easy_sign).
73
- The project is open for collaboration. If you have any suggestions or want to contribute, please feel free to reach out.
74
  """)
75
 
76
- # Пример кнопки
77
- if st.button("Start Recognition"):
78
- st.write("Recognition started!")
79
 
80
  # Боковая панель
81
  st.sidebar.title("Sidebar")
 
19
 
20
  /* Стиль боковой панели */
21
  .sidebar .sidebar-content {
22
+ background-color: #ffcccb; /* Цветной фон боковой панели */
23
+ padding: 1rem;
24
  }
25
 
26
  /* Обертка для блока контента */
 
69
  st.markdown("""
70
  This application is designed to recognize sign language using a webcam feed.
71
  The model has been trained to recognize various sign language gestures and display the corresponding text in real-time.
 
 
 
72
  """)
73
 
74
+ # Добавление картинки
75
+ st.image("path/to/your/image.jpg", caption="Sign Language Recognition", use_column_width=True)
 
76
 
77
  # Боковая панель
78
  st.sidebar.title("Sidebar")