Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/collections.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ async function getCollection(collection_slug) {

/**
* Fetch a list of model collections
*
* @returns {Promise<object>} - Resolves with the collections data
*/
async function listCollections() {
Expand Down
2 changes: 1 addition & 1 deletion lib/predictions.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @param {object} options
* @param {string} options.version - Required. The model version
* @param {object} options.input - Required. An object with the model inputs
* @param {object} [options.wait] - Whether to wait for the prediction to finish. Defaults to false
* @param {boolean|object} [options.wait] - Whether to wait for the prediction to finish. Defaults to false
* @param {number} [options.wait.interval] - Polling interval in milliseconds. Defaults to 250
* @param {number} [options.wait.maxAttempts] - Maximum number of polling attempts. Defaults to no limit
* @param {string} [options.webhook] - An HTTPS URL for receiving a webhook when the prediction has new output
Expand Down