Skip to content

Commit

Permalink
Update tutorial-how-to-deploy-your-convnet-classifier-with-keras-and-…
Browse files Browse the repository at this point in the history
…fastapi.md

change output for root path
  • Loading branch information
Tomiwa-dev committed Jun 5, 2022
1 parent 3995782 commit cf7ddb3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ Now, we'll define the main route - that is, when people navigate to your web API
# Define the main route
@app.get('/')
def root_route():
return { 'error': 'Use GET /prediction instead of the root route!' }
return { 'error': 'Use POST /prediction instead of the root route!' }
```

It simply tells people to use the correct route.
Expand Down

0 comments on commit cf7ddb3

Please sign in to comment.