Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
AWS Lambda with Librosa
import json
import sys
import os
## Mount EFS path before attempting
## to import the next dependencies
import numpy as np
import librosa
def lambda_handler(event, context):
versions = {
'numpy': np.__version__,
'librosa': librosa.__version__
return {
'statusCode': 200,
'body': json.dumps(versions)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment