Skip to content

Commit

Permalink
result
Browse files Browse the repository at this point in the history
  • Loading branch information
jack80806 committed Jun 16, 2023
1 parent de36883 commit b458bf0
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion app/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,15 @@

@app.route('/test', methods=['GET'])
def getResult():
result = 1
result = '[
{
"id": "Ace",
"family history": "心臟病, 高血壓, 糖尿病",
"weight": "60",
"age": "22",
"height": "170"
}
]'
return jsonify({'result': str(result)})

@app.route('/predict', methods=['POST'])
Expand Down

1 comment on commit b458bf0

@jack80806
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

recovery

Please sign in to comment.