Spaces:
Sleeping
Sleeping
Removing Z from labels to avoid label mismatch in dimensions
Browse files
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'
|
| 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."""
|