We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18cada0 commit 739bad4Copy full SHA for 739bad4
intermediate_source/flask_rest_api_tutorial.py
@@ -207,7 +207,7 @@ def get_prediction(image_bytes):
207
# readable name.
208
#
209
# .. Note ::
210
-# Did you notice that why ``model`` variable is not part of ``get_prediction``
+# Did you notice that ``model`` variable is not part of ``get_prediction``
211
# method? Or why is model a global variable? Loading a model can be an
212
# expensive operation in terms of memory and compute. If we loaded the model in the
213
# ``get_prediction`` method, then it would get unnecessarily loaded every
0 commit comments