forked from jupyterlab/jupyter-ai
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle Single Files and also enable html, pdf file formats for /learn (…
…jupyterlab#712) * Update directory.py to add new file formats 1. Added single file functionality 2. Added HTML files 3. Added PDF files * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update dependencies Added pypdf==4.1.0, required for handling pdf files in /learn * Update directory.py to add new file formats 1. Added single file functionality 2. Added HTML files 3. Added PDF files * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update dependencies Added pypdf==4.1.0, required for handling pdf files in /learn * Amended directory.py Made changes for 1. matching all file extensions in lower case, to ensure no case sensitivity 2. Streamlined the PDF loader to remove a loop over pages, using join and list comprehension. * Update directory.py * Update directory.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
Showing
2 changed files
with
39 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters