Skip to content

Commit

Permalink
Update dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Traub committed Sep 9, 2024
1 parent 7e78d0e commit e157522
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 20 deletions.
2 changes: 1 addition & 1 deletion php/example_code/bedrock-runtime/BedrockRuntimeService.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public function invokeStableDiffusion(string $prompt, int $seed, string $style_p
$base64_image_data = "";

try {
$modelId = 'stability.stable-diffusion-xl';
$modelId = 'stability.stable-diffusion-xl-v1';

$body = [
'text_prompts' => [
Expand Down
2 changes: 1 addition & 1 deletion php/example_code/bedrock-runtime/composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"require": {
"aws/aws-sdk-php": "^3.286",
"aws/aws-sdk-php": "^3.321",
"guzzlehttp/guzzle": "^7.8"
},
"autoload": {
Expand Down
19 changes: 11 additions & 8 deletions php/example_code/bedrock-runtime/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class BedrockRuntimeTests extends TestCase
public function setup(): void
{
$clientArgs = [
'region' => 'us-west-2',
'region' => 'us-east-1',
'version' => 'latest',
'profile' => 'default',
];
Expand Down
2 changes: 1 addition & 1 deletion php/example_code/bedrock/composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"require": {
"aws/aws-sdk-php": "^3.286",
"aws/aws-sdk-php": "^3.321",
"guzzlehttp/guzzle": "^7.8"
},
"autoload": {
Expand Down
19 changes: 11 additions & 8 deletions php/example_code/bedrock/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e157522

Please sign in to comment.