File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ async function getCollection(collection_slug) {
1212
1313/**
1414 * Fetch a list of model collections
15+ *
1516 * @returns {Promise<object> } - Resolves with the collections data
1617 */
1718async function listCollections ( ) {
Original file line number Diff line number Diff line change 44 * @param {object } options
55 * @param {string } options.version - Required. The model version
66 * @param {object } options.input - Required. An object with the model inputs
7- * @param {object } [options.wait] - Whether to wait for the prediction to finish. Defaults to false
7+ * @param {boolean| object } [options.wait] - Whether to wait for the prediction to finish. Defaults to false
88 * @param {number } [options.wait.interval] - Polling interval in milliseconds. Defaults to 250
99 * @param {number } [options.wait.maxAttempts] - Maximum number of polling attempts. Defaults to no limit
1010 * @param {string } [options.webhook] - An HTTPS URL for receiving a webhook when the prediction has new output
You can’t perform that action at this time.
0 commit comments