From 0b49fd7eca37e83d45c50f9931432129275a9057 Mon Sep 17 00:00:00 2001 From: __Rylex__ <134968689+msqr1@users.noreply.github.com> Date: Wed, 17 Jan 2024 00:15:28 -0800 Subject: [PATCH] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index bb7e82c..a0f2236 100644 --- a/README.md +++ b/README.md @@ -11,13 +11,13 @@ - 3: Debug ### Model and SpkModel ``` -new Model(url, storepath, uid) -new SpkModel(url, storepath, uid) +new Model(url, storepath, id) +new SpkModel(url, storepath, id) ``` #### Functions -- ***constructor*** : Construct a model from an URL, storage path, and an UID. - - If **storepath** contains valid model files and **uid** is the same, there will not be a fetch from **url**. - - If **storepath** doesn't contain valid model files, or if it contains valid model files but **uid** is different, there will be a fetch from **url**, and the model is stored with **uid**. +- ***constructor*** : Construct a model from an URL, storage path, and an ID. + - If **storepath** contains valid model files and **id** is the same, there will not be a fetch from **url**. + - If **storepath** doesn't contain valid model files, or if it contains valid model files but **id** is different, there will be a fetch from **url**, and the model is stored with **id**. - ***delete***: Delete self and free resources #### Events - ***ready***: The model is ready to be put into a recognizer via the constructor, or setSpkModel() for SpkModel.