diff --git a/README.md b/README.md index f16b83f..c935e21 100644 --- a/README.md +++ b/README.md @@ -29,13 +29,12 @@ p = ( ) -# table cols: id, image_path, label -for data in DataLoader(ops.data_source.readthedocs('https://towhee.readthedocs.io/en/latest/', include='html')): +for data in DataLoader(ops.data_source.readthedocs('https://towhee.readthedocs.io/en/latest/', include='html', exclude='index.html')): print(p(data).to_list(kv_format=True)) # batch -for data in DataLoader(ops.data_source.readthedocs('https://towhee.readthedocs.io/en/latest/', include='html'), batch_size=10): +for data in DataLoader(ops.data_source.readthedocs('https://towhee.readthedocs.io/en/latest/', include='html', exclude='index.html'), batch_size=10): p.batch(data) ```