File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ def transform_image(image_bytes):
130130
131131
132132######################################################################
133- # Above method takes image data in bytes, applies the series of transforms
133+ # The above method takes image data in bytes, applies the series of transforms
134134# and returns a tensor. To test the above method, read an image file in
135135# bytes mode (first replacing `../_static/img/sample_file.jpeg` with the actual
136136# path to the file on your computer) and see if you get a tensor back:
@@ -349,4 +349,4 @@ def get_prediction(image_bytes):
349349#
350350# - You can also add a UI by creating a page with a form which takes the image and
351351# displays the prediction. Check out the `demo <https://pytorch-imagenet.herokuapp.com/>`_
352- # of a similar project and its `source code <https://github.com/avinassh/pytorch-flask-api-heroku>`_.
352+ # of a similar project and its `source code <https://github.com/avinassh/pytorch-flask-api-heroku>`_.
You can’t perform that action at this time.
0 commit comments