This file contains hidden or 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
| custom: | |
| pythonRequirements: | |
| dockerizePip: non-linux | |
| zip: true | |
| slim: true |
This file contains hidden or 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
| package: | |
| include: | |
| - handler.py | |
| - data/model.h5 | |
| - lib/** | |
| exclude: | |
| - ./** |
This file contains hidden or 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
| service: myService | |
| package: | |
| include: | |
| ... | |
| - lib/** | |
| functions: | |
| prediction: | |
| handler: handler.endpoint |
This file contains hidden or 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
| # No imports before this unzip! | |
| try: | |
| import unzip_requirements | |
| except ImportError: | |
| pass | |
| from keras.models import load_model | |
| import pandas as pd | |
| def endpoint(event: dict, context): |
This file contains hidden or 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
| tensorflow==1.13.0rc2 | |
| numpy==1.15.4 | |
| pandas==0.23.4 | |
| Keras==2.2.4 |
This file contains hidden or 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
| service: myService | |
| provider: | |
| name: aws | |
| runtime: python3.6 | |
| region: ap-southeast-2 | |
| memorySize: 1536 | |
| timeout: 30 | |
| package: |
This file contains hidden or 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
| service: myService | |
| provider: | |
| name: aws | |
| runtime: python2.7 | |
| functions: | |
| hello: | |
| handler: handler.hello |
This file contains hidden or 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
| [user] | |
| name = James Dunwoody | |
| email = [email protected] | |
| [push] | |
| default = tracking | |
| [core] | |
| editor = mvim | |
| excludesfile = /Users/james/.gitignore_global | |
| [color] | |
| ui = true |