SunilS commited on
Commit
97d98ee
·
1 Parent(s): d0afa2c

UI: Add user instructions to Test Videos page

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py CHANGED
@@ -396,6 +396,18 @@ if app_mode =='About App':
396
  ''')
397
 
398
  elif app_mode =='Run on Test Videos':
 
 
 
 
 
 
 
 
 
 
 
 
399
  # placeholder = st.empty()
400
  category = st.sidebar.selectbox('Choose Category',
401
  np.sort(test_files_df['Category'].unique(), axis=-1, kind='mergesort'))
 
396
  ''')
397
 
398
  elif app_mode =='Run on Test Videos':
399
+ st.markdown('''
400
+ ## How to use the Test Videos
401
+ Follow these steps to run a prediction on a test video:
402
+ 1. Open the **sidebar** on the left.
403
+ 2. Select a **Category** from the dropdown.
404
+ 3. Select a specific **Class** (the sign language word you want to test).
405
+ 4. Select a specific **File** from the available test videos.
406
+ 5. Click the **"Start"** button at the bottom of the sidebar to run the prediction model on the video.
407
+
408
+ The app will load the frames, process them, and display the predicted translation!
409
+ ---
410
+ ''')
411
  # placeholder = st.empty()
412
  category = st.sidebar.selectbox('Choose Category',
413
  np.sort(test_files_df['Category'].unique(), axis=-1, kind='mergesort'))