Skip to content

Commit 67f409b

Browse files
Dennis TraubDennisTraub
authored andcommitted
Update dependencies.
1 parent 9ef5ad0 commit 67f409b

File tree

6 files changed

+26
-20
lines changed

6 files changed

+26
-20
lines changed

php/example_code/bedrock-runtime/BedrockRuntimeService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public function invokeStableDiffusion(string $prompt, int $seed, string $style_p
149149
$base64_image_data = "";
150150

151151
try {
152-
$modelId = 'stability.stable-diffusion-xl';
152+
$modelId = 'stability.stable-diffusion-xl-v1';
153153

154154
$body = [
155155
'text_prompts' => [

php/example_code/bedrock-runtime/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"require": {
3-
"aws/aws-sdk-php": "^3.286",
3+
"aws/aws-sdk-php": "^3.321",
44
"guzzlehttp/guzzle": "^7.8"
55
},
66
"autoload": {

php/example_code/bedrock-runtime/composer.lock

Lines changed: 11 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

php/example_code/bedrock-runtime/tests/BedrockRuntimeTests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class BedrockRuntimeTests extends TestCase
2424
public function setup(): void
2525
{
2626
$clientArgs = [
27-
'region' => 'us-west-2',
27+
'region' => 'us-east-1',
2828
'version' => 'latest',
2929
'profile' => 'default',
3030
];

php/example_code/bedrock/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"require": {
3-
"aws/aws-sdk-php": "^3.286",
3+
"aws/aws-sdk-php": "^3.321",
44
"guzzlehttp/guzzle": "^7.8"
55
},
66
"autoload": {

php/example_code/bedrock/composer.lock

Lines changed: 11 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)