Serverless Error while trying to Deploy Lambda Functions with Layers

Hello! Once I try to deploy my Serverless application using sls deploy which is configured in the following way:

service: LambdaConfigService

provider:
  name: aws
  runtime: go1.x
  stage: debug
  region: us-east-1
  versionFunctions: false
  iamRoleStatements:
    - Effect: Allow
      Action: "s3:*"
      Resource: "*"

functions:
  Thumbnail:
    handler: bin/thumbnail
    description: Used in order to generate thumnails given a time range and a source id
    timeout: 300
    memorySize: 3008
    events:
       - http:
          path: ai/thumbnail
          method: post
          cors: true
    layers:
      - {Ref: FfmpegLambdaLayer}
  Inference:
    handler: bin/inference
    description: Used in order to perform statistical inference over the list of JPEG files
    timeout: 300
    memorySize: 3008
    events:
       - http:
          path: ai/inference
          method: post
          cors: true
    layers:
      - {Ref: FfmpegLambdaLayer}
      - {Ref: TensorflowLambdaLayer}

layers:
  tensorflow:
    path: lambda/layers/tensorflow
  ffmpeg:
    path: lambda/layers/ffmpegLayer

I am getting following error message:

Serverless: Packaging service...
Serverless: Excluding development dependencies...
Serverless: Excluding development dependencies...
Serverless: Excluding development dependencies...
Serverless: WARNING: Function Thumbnail has timeout of 300 seconds, however, it's attached to API Gateway so it's automatically limited to 30 seconds.
Serverless: WARNING: Function Inference has timeout of 300 seconds, however, it's attached to API Gateway so it's automatically limited to 30 seconds.
Serverless: Uploading CloudFormation file to S3...
Serverless: Uploading artifacts...
Serverless: Uploading service LambdaConfigService.zip file to S3 (53.43 MB)...
Serverless: Uploading service tensorflow.zip file to S3 (45.84 MB)...
Serverless: Uploading service ffmpeg.zip file to S3 (52.02 MB)...
Serverless: Validating template...
Serverless: Updating Stack...
Serverless: Checking Stack update progress...
........................................
Serverless: Operation failed!
Serverless: View the full error output: https://us-east-1.console.aws.amazon.com/cloudformation/home?region=us-east-1#/stack/detail?stackId=arn%3Aaws%3Acloudformation%3Aus-east-1%3A757767972066%3Astack%2FLambdaConfigService-debug%2Fe023a120-a950-11e9-ba2c-12713880e578
 
  Serverless Error ---------------------------------------
 
  An error occurred: InferenceLambdaFunction - Layers consume more than the available size of 262144000 bytes (Service: AWSLambdaInternal; Status Code: 400; Error Code: InvalidParameterValueException; Request ID: ec967450-dd55-483b-8998-63f1192cb209).

What can I do about it?