Last active
July 13, 2019 13:34
-
-
Save RoaldSchuring/a9c7c8e9a3d7a04719f490fcc8bade9b to your computer and use it in GitHub Desktop.
import_functions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import boto3 | |
import pandas as pd | |
import numpy as np | |
from six import BytesIO | |
def lambda_handler(event, context): | |
client = boto3.client('s3') | |
runtime = boto3.client('runtime.sagemaker') | |
data = json.loads(json.dumps(event)) | |
payload = data['instances'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment