Skip to content

Commit fc1d739

Browse files
author
Daniel Lorch
committed
Revert "chore: add AWS_DEFAULT_REGION setting"
This reverts commit a89b5dd.
1 parent a89b5dd commit fc1d739

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

notebooks/misc/e2e-example-with-multimodal-page-classification-few-shot-prompting.ipynb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@
3737
"import boto3\n",
3838
"import os\n",
3939
"\n",
40-
"# adjust profile or region if required\n",
41-
"#os.environ['AWS_PROFILE'] = 'default'\n",
42-
"#os.environ['AWS_DEFAULT_REGION'] = 'us-west-2'\n",
40+
"os.environ['AWS_PROFILE'] = 'default' # change to desired AWS profile\n",
4341
"\n",
4442
"sts_client = boto3.client('sts')\n",
4543
"sts_client.get_caller_identity()['Arn']"

notebooks/misc/test_few_shot_extraction.ipynb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,15 @@
2020
"cell_type": "code",
2121
"execution_count": null,
2222
"metadata": {},
23-
"outputs": [],
23+
"outputs": []
2424
"source": [
2525
"%reload_ext autoreload\n",
2626
"%autoreload 2\n",
2727
"\n",
2828
"import boto3\n",
2929
"import os\n",
3030
"\n",
31-
"# adjust profile or region if required\n",
32-
"#os.environ['AWS_PROFILE'] = 'default'\n",
33-
"#os.environ['AWS_DEFAULT_REGION'] = 'us-west-2'\n",
31+
"os.environ['AWS_PROFILE'] = 'default' # change to desired AWS profile\n",
3432
"\n",
3533
"sts_client = boto3.client('sts')\n",
3634
"sts_client.get_caller_identity()['Arn']"

0 commit comments

Comments
 (0)