Spaces:
Sleeping
Sleeping
save changes
Browse files- app.py +34 -0
- model_repo +1 -0
app.py
CHANGED
@@ -59,6 +59,40 @@ base_model = nn.Sequential(
|
|
59 |
def main():
|
60 |
st.title("American Sign Language Recognition")
|
61 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
# Move slider and button to sidebar
|
63 |
num_epochs = st.sidebar.slider("Number of Epochs", 1, 20, 5)
|
64 |
train_button = st.sidebar.button("Train Model")
|
|
|
59 |
def main():
|
60 |
st.title("American Sign Language Recognition")
|
61 |
|
62 |
+
about = """
|
63 |
+
# American Sign Language Recognition
|
64 |
+
|
65 |
+
This project demonstrates a Convolutional Neural Network (CNN) model for recognizing American Sign Language (ASL) using the Hugging Face Hub and Streamlit for the user interface. The model is trained on a dataset of ASL images and includes data augmentation techniques to improve generalization.
|
66 |
+
|
67 |
+
## Table of Contents
|
68 |
+
- Introduction
|
69 |
+
- Installation
|
70 |
+
- Usage
|
71 |
+
- Model Architecture
|
72 |
+
- Data Augmentation
|
73 |
+
- Training
|
74 |
+
- Results
|
75 |
+
- Acknowledgements
|
76 |
+
|
77 |
+
## Introduction
|
78 |
+
This project aims to build a robust ASL recognition system using deep learning techniques. The model is implemented in PyTorch and utilizes the Hugging Face Hub for dataset management. The Streamlit app provides an interactive interface for training and visualizing the model's performance.
|
79 |
+
|
80 |
+
## Installation
|
81 |
+
To run this project, you need to have Python installed along with the following libraries:
|
82 |
+
- `streamlit`
|
83 |
+
- `torch`
|
84 |
+
- `torchvision`
|
85 |
+
- `datasets`
|
86 |
+
- `huggingface_hub`
|
87 |
+
- `matplotlib`
|
88 |
+
|
89 |
+
You can install the required libraries using:
|
90 |
+
```bash
|
91 |
+
pip install streamlit torch torchvision datasets huggingface_hub matplotlib
|
92 |
+
"""
|
93 |
+
with st.expander("About", expanded=True):
|
94 |
+
st.markdown(about)
|
95 |
+
|
96 |
# Move slider and button to sidebar
|
97 |
num_epochs = st.sidebar.slider("Number of Epochs", 1, 20, 5)
|
98 |
train_button = st.sidebar.button("Train Model")
|
model_repo
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit 3b1e03d8d415269d86b88c9df83295a9ef454bb5
|