Skip to content

Commit

Permalink
fixing the curl command
Browse files Browse the repository at this point in the history
  • Loading branch information
kvarada committed Dec 5, 2024
1 parent 18df688 commit 7ed346f
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions lectures/notes/24_deployment-conclusion.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -858,9 +858,17 @@
"cell_type": "code",
"execution_count": 12,
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"\"achievement\"\n"
]
}
],
"source": [
"!curl -d '{\"text\":\"The students will be submitting their last homework assignment soon!\"}' -H \"Content-Type: application/json\" -X POST http://localhost:5000/predict"
"!curl -d '{\"text\":\"The students will be submitting their last homework assignment soon!\"}' -H \"Content-Type: application/json\" -X POST http://127.0.0.1:5000/predict"
]
},
{
Expand Down

0 comments on commit 7ed346f

Please sign in to comment.