Skip to content

Commit

Permalink
Merge pull request #22 from Daniel-Andarge/task-4
Browse files Browse the repository at this point in the history
Clean Directory
  • Loading branch information
Daniel-Andarge authored Jun 29, 2024
2 parents ed1e6be + 196d60a commit e5c7bdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flask-app/serve_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@

@app.route('/')
def home():
return ("Welvome to ML based fraud detction")
return ("Welcome to ML based fraud detction")

@app.route('/detect', methods=['POST'])
@app.route('/predict', methods=['POST'])
def detect():
try:
json_data = request.get_json()
Expand Down

0 comments on commit e5c7bdb

Please sign in to comment.