From 50c6cb6a3098621c7672e8942aa362123453a1a7 Mon Sep 17 00:00:00 2001 From: Adam Narozniak Date: Wed, 20 Sep 2023 11:48:47 +0200 Subject: [PATCH] Change python code blocks to bash code blocks --- datasets/doc/source/how-to-install-flwr-datasets.rst | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/datasets/doc/source/how-to-install-flwr-datasets.rst b/datasets/doc/source/how-to-install-flwr-datasets.rst index 0842a807f089..d2fd7923a817 100644 --- a/datasets/doc/source/how-to-install-flwr-datasets.rst +++ b/datasets/doc/source/how-to-install-flwr-datasets.rst @@ -10,15 +10,21 @@ Flower Datasets requires `Python 3.8 `_ or above. Install stable release (pip) ---------------------------- -Stable releases are available on `PyPI `_:: +Stable releases are available on `PyPI `_ + +.. code-block:: bash python -m pip install flwr-datasets -For vision datasets (e.g. MNIST, CIFAR10) ``flwr_datasets`` should be installed with the ``vision`` extra:: +For vision datasets (e.g. MNIST, CIFAR10) ``flwr-datasets`` should be installed with the ``vision`` extra + +.. code-block:: bash python -m pip install flwr_datasets[vision] -For audio datasets (e.g. Speech Command) ``flwr_datasets`` should be installed with the ``audio`` extra:: +For audio datasets (e.g. Speech Command) ``flwr-datasets`` should be installed with the ``audio`` extra + +.. code-block:: bash python -m pip install flwr_datasets[audio]