Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
hotfix indentation in docs (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
teddykoker authored Jan 29, 2021
1 parent 2f7d105 commit e15745e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/source/general/predictions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ You can pass in a sample of data (image file path, a string of text, etc) to the

.. code-block:: python
from flash import Trainer
from flash import download_data
from flash.vision import ImageClassificationData, ImageClassifier
from flash import Trainer
from flash import download_data
from flash.vision import ImageClassificationData, ImageClassifier
# 1. Download the data set
download_data("https://pl-flash-data.s3.amazonaws.com/hymenoptera_data.zip", 'data/')
Expand All @@ -36,8 +36,8 @@ Predict on a csv file

.. code-block:: python
from flash import download_data
from flash.tabular import TabularClassifier
from flash import download_data
from flash.tabular import TabularClassifier
# 1. Download the data
download_data("https://pl-flash-data.s3.amazonaws.com/titanic.zip", 'data/')
Expand All @@ -59,9 +59,9 @@ For more advnced options like distributed inference, you need to use the :func:`

.. code-block:: python
from flash import Trainer
from flash import download_data
from flash.vision import ImageClassificationData, ImageClassifier
from flash import Trainer
from flash import download_data
from flash.vision import ImageClassificationData, ImageClassifier
# 1. Download the data set
Expand Down

0 comments on commit e15745e

Please sign in to comment.