From aaafa2c4e8da4d0e91bc57a747096f3bec95260e Mon Sep 17 00:00:00 2001
From: "Runtian (Rachel) Li" <115634891+Rachel0619@users.noreply.github.com>
Date: Thu, 5 Jun 2025 03:23:42 +0000
Subject: [PATCH 1/2] Fixes #3044: Fix broken deployment link in Flask REST API
tutorial
---
intermediate_source/flask_rest_api_tutorial.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/intermediate_source/flask_rest_api_tutorial.py b/intermediate_source/flask_rest_api_tutorial.py
index 8b0162a9e8..15ff04f757 100644
--- a/intermediate_source/flask_rest_api_tutorial.py
+++ b/intermediate_source/flask_rest_api_tutorial.py
@@ -321,9 +321,9 @@ def get_prediction(image_bytes):
# for deploying a Flask server in production.
#
# - You can also add a UI by creating a page with a form which takes the image and
-# displays the prediction. Check out the `demo `_
-# of a similar project and its `source code `_.
-#
+# displays the prediction. You can deploy your own demo using this
+# `Heroku template `_
+# or check out the `source code `_.
# - In this tutorial, we only showed how to build a service that could return predictions for
# a single image at a time. We could modify our service to be able to return predictions for
# multiple images at once. In addition, the `service-streamer `_
From 01aad7be00fc6da060556db49b15d4b23f1b8587 Mon Sep 17 00:00:00 2001
From: "Runtian (Rachel) Li" <115634891+Rachel0619@users.noreply.github.com>
Date: Thu, 5 Jun 2025 13:13:22 -0700
Subject: [PATCH 2/2] Update intermediate_source/flask_rest_api_tutorial.py
Co-authored-by: Svetlana Karslioglu
---
intermediate_source/flask_rest_api_tutorial.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/intermediate_source/flask_rest_api_tutorial.py b/intermediate_source/flask_rest_api_tutorial.py
index 15ff04f757..b6b46aed91 100644
--- a/intermediate_source/flask_rest_api_tutorial.py
+++ b/intermediate_source/flask_rest_api_tutorial.py
@@ -321,9 +321,7 @@ def get_prediction(image_bytes):
# for deploying a Flask server in production.
#
# - You can also add a UI by creating a page with a form which takes the image and
-# displays the prediction. You can deploy your own demo using this
-# `Heroku template `_
-# or check out the `source code `_.
+# displays the prediction.
# - In this tutorial, we only showed how to build a service that could return predictions for
# a single image at a time. We could modify our service to be able to return predictions for
# multiple images at once. In addition, the `service-streamer `_