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.
Format image provider (jupyterlab#66)
* Adds image format * WIP: New provider for huggingface_image * Adds image provider to __init__ * Improve magics. * Change raw to text. * Add provider/model metadata to output. * Fixing metadata handling. * Updates user docs * WIP: Prints debug output on initial load * Removes debug info from load * Removes separate provider for images * Outputs image in Base64 format * Removes HF image provider, updates docs * Removes limitation of only supporting JPEG format * Promotes VALID_TASKS out of class * Updates error handling, image generation example notebook * Updates dependencies per @dlqqq --------- Co-authored-by: Brian E. Granger <brgrange@amazon.com> Co-authored-by: Brian E. Granger <ellisonbg@gmail.com>
- Loading branch information
1 parent
469a480
commit 2c2c599
Showing
5 changed files
with
264 additions
and
6 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,6 +42,7 @@ all = [ | |
"cohere", | ||
"huggingface_hub", | ||
"ipywidgets", | ||
"pillow", | ||
"openai", | ||
"boto3" | ||
] | ||
|