Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Commit

Permalink
Update deploy-python-model-quickstart.yaml (#835)
Browse files Browse the repository at this point in the history
* Update deploy-python-model-quickstart.yaml

- Updated to the "prediction_s_" not "prediction" per the flask app.
- Fixed the formating with "<" not being able to be read via the tutorial software.

* Update odh-dashboard/apps/jupyter/deploy-python-model-quickstart.yaml

Co-authored-by: Deepak Chourasia <[email protected]>

* Update odh-dashboard/apps/jupyter/deploy-python-model-quickstart.yaml

Co-authored-by: Deepak Chourasia <[email protected]>

---------

Co-authored-by: Deepak Chourasia <[email protected]>
  • Loading branch information
jjasghar and dchourasia authored Jun 15, 2023
1 parent 83ad786 commit be72528
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ spec:
3. In a Jupyter notebook, navigate to a terminal view.
4. Run this curl command, using the URL you copied in step 1.
```
curl -X POST -d '{"hello" ":" "world"}' <URL>/prediction
curl -X POST -d '{"hello" : "world"}' YOUR_ROUTE/predictions
```
For example:
```
curl -X POST -d '{"hello" ":" "world"}' http://example.apps.organization.abc3.p4.openshiftapps.com/prediction
curl -X POST -d '{"hello" : "world"}' http://example.apps.organization.abc3.p4.openshiftapps.com/predictions
```
This should return `{"prediction":"not implemented"}` as output.
Expand Down

0 comments on commit be72528

Please sign in to comment.