Skip to content

Commit

Permalink
Change python code blocks to bash code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-narozniak committed Sep 20, 2023
1 parent 7db29a0 commit 50c6cb6
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions datasets/doc/source/how-to-install-flwr-datasets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,21 @@ Flower Datasets requires `Python 3.8 <https://docs.python.org/3.8/>`_ or above.
Install stable release (pip)
----------------------------

Stable releases are available on `PyPI <https://pypi.org/project/flwr_datasets/>`_::
Stable releases are available on `PyPI <https://pypi.org/project/flwr_datasets/>`_

.. 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]
Expand Down

0 comments on commit 50c6cb6

Please sign in to comment.