From 7772b4c17c232762c3bd1cda3e797e0b4d746492 Mon Sep 17 00:00:00 2001 From: Santiago Castro Date: Wed, 22 Nov 2023 10:20:05 -0500 Subject: [PATCH] Add code highlighting in the README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c72b1a4320..7b2c4dbd7b 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ curl http://127.0.0.1:8080/predictions/bert -T input.txt ``` ### 🚀 Quick start with TorchServe -``` +```bash # Install dependencies # cuda is optional python ./ts_scripts/install_dependencies.py --cuda=cu121 @@ -28,7 +28,7 @@ pip install torchserve-nightly torch-model-archiver-nightly torch-workflow-archi ### 🚀 Quick start with TorchServe (conda) -``` +```bash # Install dependencies # cuda is optional python ./ts_scripts/install_dependencies.py --cuda=cu121 @@ -44,7 +44,7 @@ conda install -c pytorch-nightly torchserve torch-model-archiver torch-workflow- ### 🐳 Quick Start with Docker -``` +```bash # Latest release docker pull pytorch/torchserve