Skip to content

Commit 62aeb58

Browse files
authored
Update README.md (#143)
1 parent f23ba62 commit 62aeb58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ The `map` operator can be used to apply a function over a list of inputs.
183183
Here is an example where the `map` operator is used to apply a `resize_image` function over a folder of large images.
184184

185185
```python
186-
from lightning.data import map
186+
from litdata import map
187187
from PIL import Image
188188

189189
# Note: Inputs could also refer to files on s3 directly.
@@ -328,7 +328,7 @@ dataset = StreamingDataset(..., max_cache_size="10GB")
328328
On-prem compute nodes can mount and use a network drive. A network drive is a shared storage device on a local area network. In order to reduce their network overload, the `StreamingDataset` supports `caching` the data chunks.
329329

330330
```python
331-
from lightning.data import StreamingDataset
331+
from litdata import StreamingDataset
332332

333333
dataset = StreamingDataset(input_dir="local:/data/shared-drive/some-data")
334334
```

0 commit comments

Comments
 (0)