We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8680068 commit 1b45f72Copy full SHA for 1b45f72
dsp/modules/aws_providers.py
@@ -33,9 +33,9 @@ def __init__(
33
batch_n_enabled (bool): If False, call the LM N times rather than batching.
34
"""
35
try:
36
- import boto3 # pylint: disable=import-outside-toplevel
+ import boto3
37
except ImportError as exc:
38
- raise ImportError('Please install boto3 to use AWS models.') from exc
+ raise ImportError('pip install boto3 to use AWS models.') from exc
39
40
if profile_name is None:
41
self.predictor = boto3.client(service_name, region_name=region_name)
0 commit comments