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 sys | |
import os | |
## Mount EFS path before attempting | |
## to import the next dependencies | |
sys.path.append('/mnt/access/pkgs') | |
import numpy as np | |
import librosa |
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 Ajv from 'ajv'; | |
import { JSONSchemaBridge } from 'uniforms-bridge-json-schema'; | |
const ajv = new Ajv(); | |
ajv.addFormat('date-time', { | |
validate: (dateTimeString) => { | |
console.log('here', dateTimeString); | |
return dateTimeRegex.test(dateTimeString); | |
} |