https://github.com/jokerdii/face-app
Gender identification Flask app integrated with a machine learning model.
https://github.com/jokerdii/face-app
flask machine-learning
Last synced: about 2 months ago
JSON representation
Gender identification Flask app integrated with a machine learning model.
- Host: GitHub
- URL: https://github.com/jokerdii/face-app
- Owner: JoKerDii
- Created: 2022-01-23T15:26:47.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-11T14:25:34.000Z (about 4 years ago)
- Last Synced: 2025-01-09T02:12:10.387Z (over 1 year ago)
- Topics: flask, machine-learning
- Language: Jupyter Notebook
- Homepage:
- Size: 19.1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gender Identification APP
This is a Flask application integrated with a Machine Learning model for gender identification. This APP can only identify female and male due to the limitation of data. Thank you for your understanding.
## Install Dependencies
```python
pip3 install -r requirements.txt
```
## Run Flask Locally
```python
python main.py
```
## Heroku Deployment Log
Python 3.8.8
```
$ python --version
```
Create `runtime.txt` and `requirements.txt`.
```
$ echo "python-3.8.8" > runtime.txt
$ pip freeze > requirements.txt
```
Create `Procfile`.
`main` corresponds to `main.py`. `app` corresponds to `app = Flask(__name__)`.
```
$ echo "web: gunicorn main:app\nheroku ps:scale web=1" > Procfile
```
Download and install the [Heroku CLI](https://devcenter.heroku.com/articles/heroku-command-line).
```
$ heroku login
```
Use Git to clone gender-identification-app's source code to local machine.
```
$ heroku git:clone -a gender-identification-app
$ cd gender-identification-app
```
Make some changes to the code and deploy them to Heroku using Git.
```
$ git add .
$ git commit -am "make it better"
$ git push heroku master
```