danial0203 commited on
Commit
b4c94c6
1 Parent(s): fee4f78

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -19,6 +19,7 @@ s3 = s3fs.S3FileSystem(
19
  secret=os.getenv('AWS_SECRET_KEY'),
20
  client_kwargs={'region_name': os.getenv('AWS_REGION')}
21
  )
 
22
 
23
  # textract_client = boto3.client(
24
  # 'textract',
 
19
  secret=os.getenv('AWS_SECRET_KEY'),
20
  client_kwargs={'region_name': os.getenv('AWS_REGION')}
21
  )
22
+ textract_client = boto3.client('textract', region_name=region_name)
23
 
24
  # textract_client = boto3.client(
25
  # 'textract',