Skip to content

Commit

Permalink
FIXES
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad-Zain01 committed Dec 18, 2023
1 parent 88de04b commit 9b0f4d7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ To get a local copy up and running follow these simple example steps.
```sh
git clone https://github.com/muhammad-zain01/facial-recognition-api.git
```
2. Install NPM packages
2. Install pip libraries
```sh
cd facial-recognition-api
pip install -r requirements.txt
Expand Down
7 changes: 6 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,12 @@ def Upload():
file.write(image)

return json.dumps({'Status' : 1})


@app.route('/', methods=['GET'])
def Home():
aReturn = {'Status': 200, 'Message': "Flask Server is Running"}
return json.dumps(aReturn)

@app.route('/register', methods=['POST'])
def Register():
path = request.form.get('path')
Expand Down
Binary file modified requirements.txt
Binary file not shown.

0 comments on commit 9b0f4d7

Please sign in to comment.