Downloads · 30 days
0
Girishankar2004/Ethnotech
Ethnotech is a machine learning model from Girishankar2004. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This will create classifierweights.pth needed by the Flask app.
Downloads · 30 days
0
Access
Public
Updated Feb 13, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.py12.5 KB · 41%
From the Hugging Face model README
pip install flask torch torchvision tenseal matplotlib scikit-learn pandas
python encrypted_inference.py
This will create classifier_weights.pth needed by the Flask app.
python app.py
Navigate to: http://localhost:5000
project/
├── app.py # Flask backend
├── encrypted_inference.py # Training script
├── classifier_weights.pth # Trained model weights
├── templates/
│ ├── index.html # Upload page
│ └── result.html # Results page
└── static/
├── style.css # Styling
└── uploads/ # Uploaded images