Skip to content

Commit 739bad4

Browse files
authored
Fix a typo
1 parent 18cada0 commit 739bad4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

intermediate_source/flask_rest_api_tutorial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def get_prediction(image_bytes):
207207
# readable name.
208208
#
209209
# .. Note ::
210-
# Did you notice that why ``model`` variable is not part of ``get_prediction``
210+
# Did you notice that ``model`` variable is not part of ``get_prediction``
211211
# method? Or why is model a global variable? Loading a model can be an
212212
# expensive operation in terms of memory and compute. If we loaded the model in the
213213
# ``get_prediction`` method, then it would get unnecessarily loaded every

0 commit comments

Comments
 (0)