forked from aws-samples/amazon-bedrock-workshop
-
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.
refactor(img): Replace Bedrock util with boto3
Replace the custom `utils.bedrock.Bedrock` class (only used in the image workshop) with native boto3 SDK calls, to avoid the dependency on pydantic and hopefully simplify use of the newer Data Science 3.0 kernel in SageMaker Studio. Show how to save generated images to (gitignored) files, and load img2img inputs from files. Clarify commentary, remove mentions of old util class, and extend the summary
- Loading branch information
Showing
3 changed files
with
139 additions
and
201 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ __pycache__ | |
|
||
# Files generated by the workshop: | ||
/dependencies | ||
data/ |
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
Oops, something went wrong.