kdevoe commited on
Commit
ea6ac98
·
verified ·
1 Parent(s): 4ce13f7

Removing Z from labels to avoid label mismatch in dimensions

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ model = load_model("model_01.keras")
14
  # Define the labels for ASL classes
15
  labels = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J',
16
  'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T',
17
- 'U', 'V', 'W', 'X', 'Y', 'Z']
18
 
19
  def preprocess_frame(frame):
20
  """Preprocess the video frame for the ASL model."""
 
14
  # Define the labels for ASL classes
15
  labels = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J',
16
  'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T',
17
+ 'U', 'V', 'W', 'X', 'Y']
18
 
19
  def preprocess_frame(frame):
20
  """Preprocess the video frame for the ASL model."""