Node-1st-gen/publish-model/README.md
This sample demonstrates how to automatically publish models to Firebase ML for each TensorFlow Lite file that is uploaded to Firebase Storage.
See file functions/index.js for the model publishing code.
The dependencies are listed in functions/package.json.
The function triggers on upload of any file to your Firebase project's default Cloud Storage bucket.
To deploy and test the sample:
git clone https://github.com/firebase/functions-samples.cd functions-samples/publish-modelfirebase use --add and select the project you had created.cd functions; npm install; cd -firebase deploy