diff --git a/loader_hub/remote/README.md b/loader_hub/remote/README.md index 7d4a7335..58d6c616 100644 --- a/loader_hub/remote/README.md +++ b/loader_hub/remote/README.md @@ -9,7 +9,6 @@ As a result, any page or type of file is supported. For instance, if a `.txt` ur To use this loader, you need to pass in a `Path` to a local file. Optionally, you may specify a `file_extractor` for the `SimpleDirectoryReader` to use, other than the default one. ```python -from pathlib import Path from gpt_index import download_loader RemoteReader = download_loader("RemoteReader") diff --git a/loader_hub/s3/README.md b/loader_hub/s3/README.md index 7490bf6f..bb67a536 100644 --- a/loader_hub/s3/README.md +++ b/loader_hub/s3/README.md @@ -9,7 +9,6 @@ All files are temporarily downloaded locally and subsequently parsed with `Simpl To use this loader, you need to pass in the name of your S3 Bucket. After that, if you want to just parse a single file, pass in its key. Otherwise, you may specify a prefix if you only want to parse certain files in the Bucket, or a subdirectory. AWS Access Key credentials may either be passed in during initialization or stored locally (see above). ```python -from pathlib import Path from gpt_index import download_loader S3Reader = download_loader("S3Reader")