diff --git a/app/app/templates/dlflask.html b/app/app/templates/dlflask.html index b272dab..5e4eb9e 100644 --- a/app/app/templates/dlflask.html +++ b/app/app/templates/dlflask.html @@ -1,62 +1,78 @@ - - -
-A handwritten example image of a digit is shown below.
- -The value of the digit that can be predicted using a Deep Learning model.
-POST example using curl:
-curl -F file=@app/app/static/4.jpg -X POST 'http://127.0.0.1/api/predictlabel'
-{ - "most_probable_label": "4", - "predictions": [ - { - "label": "0", - "probability": "8.55888e-09" - }, - { - "label": "1", - "probability": "1.952776e-05" - }, - { - "label": "2", - "probability": "1.6258126e-06" - }, - { - "label": "3", - "probability": "6.6119924e-07" - }, - { - "label": "4", - "probability": "0.9931753" - }, - { - "label": "5", - "probability": "8.9275824e-07" - }, - { - "label": "6", - "probability": "3.894695e-06" - }, - { - "label": "7", - "probability": "0.0067486116" - }, - { - "label": "8", - "probability": "9.569092e-06" - }, - { - "label": "9", - "probability": "3.984138e-05" - } - ], - "success": true - }
- - + + + +A handwritten example image of a digit is shown below.
+ +The value of the digit that can be predicted using a Deep Learning model.
+ ++{ + "most_probable_label": "4", + "predictions": [ + { + "label": "0", + "probability": "8.55888e-09" + }, + { + "label": "1", + "probability": "1.952776e-05" + }, + { + "label": "2", + "probability": "1.6258126e-06" + }, + { + "label": "3", + "probability": "6.6119924e-07" + }, + { + "label": "4", + "probability": "0.9931753" + }, + { + "label": "5", + "probability": "8.9275824e-07" + }, + { + "label": "6", + "probability": "3.894695e-06" + }, + { + "label": "7", + "probability": "0.0067486116" + }, + { + "label": "8", + "probability": "9.569092e-06" + }, + { + "label": "9", + "probability": "3.984138e-05" + } + ], + "success": true +} ++
author: alvertogit
copyright: 2018-2024