diff --git a/app/__init__.py b/app/__init__.py index 014d987..f751f7b 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -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'])