Skip to content

Commit aaafa2c

Browse files
committed
Fixes #3044: Fix broken deployment link in Flask REST API tutorial
1 parent 0f312df commit aaafa2c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

intermediate_source/flask_rest_api_tutorial.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -321,9 +321,9 @@ def get_prediction(image_bytes):
321321
# for deploying a Flask server in production.
322322
#
323323
# - You can also add a UI by creating a page with a form which takes the image and
324-
# displays the prediction. Check out the `demo <https://pytorch-imagenet.herokuapp.com/>`_
325-
# of a similar project and its `source code <https://github.com/avinassh/pytorch-flask-api-heroku>`_.
326-
#
324+
# displays the prediction. You can deploy your own demo using this
325+
# `Heroku template <https://dashboard.heroku.com/new?template=https%3A%2F%2Fgithub.com%2Favinassh%2Fpytorch-flask-api-heroku>`_
326+
# or check out the `source code <https://github.com/avinassh/pytorch-flask-api-heroku>`_.
327327
# - In this tutorial, we only showed how to build a service that could return predictions for
328328
# a single image at a time. We could modify our service to be able to return predictions for
329329
# multiple images at once. In addition, the `service-streamer <https://github.com/ShannonAI/service-streamer>`_

0 commit comments

Comments
 (0)