Skip to content

Commit 0974591

Browse files
committed
docs: updating docs with correct arguments
As highlighted in issue #1889 the MultiModalDataset class doesn't have argument "da" and has to be updated to "docs" Signed-off-by: Upaayan Naskar <[email protected]>
1 parent e6802a2 commit 0974591

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/how_to/multimodal_training_and_serving.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ preprocessing = {"image": VisionPreprocess(), "text": TextPreprocess()}
217217
```python
218218
from docarray.data import MultiModalDataset
219219

220-
dataset = MultiModalDataset[PairTextImage](da=da, preprocessing=preprocessing)
220+
dataset = MultiModalDataset[PairTextImage](docs=da, preprocessing=preprocessing)
221221
loader = DataLoader(
222222
dataset,
223223
batch_size=128,

0 commit comments

Comments
 (0)