import { Oid } from 'https://cdn.jsdelivr.net/npm/@mundorum/collections@0.3.1/full.js' Oid.customize('oid:rest', { cid: 'cancer-predictor', api: { oas: { paths: { 'https://santanche-factory-ml.hf.space/train?train_path={train_path}&test_path={test_path}': { 'post': { operationId: 'train', parameters: [ {name: 'train_path', in: 'path' }, {name: 'test_path', in: 'path' } ] } }, 'https://santanche-factory-ml.hf.space/predict?radius_mean={radius_mean}&texture_mean={texture_mean}&symmetry_mean={symmetry_mean}&fractal_dimension_mean={fractal_dimension_mean}': { 'get': { operationId: 'predict', parameters: [ {name: 'radius_mean', in: 'path' }, {name: 'texture_mean', in: 'path' }, {name: 'symmetry_mean', in: 'path' }, {name: 'fractal_dimension_mean', in: 'path' } ] } } } } } }) Oid.customize('oid:rest', { cid: 'factory-predictor', api: { oas: { paths: { 'https://santanche-factory-ml.hf.space/train': { 'post': { operationId: 'train' } }, 'https://santanche-factory-ml.hf.space/inform_temperature?value={value}': { 'post': { operationId: 'temperature', parameters: [ {name: 'value', in: 'path' } ] } }, 'https://santanche-factory-ml.hf.space/inform_pressure?value={value}': { 'post': { operationId: 'pressure', parameters: [ {name: 'value', in: 'path' } ] } } } } } }) Oid.customize('oid:rest', { cid: 'sentiment-analysis', api: { oas: { paths: { 'https://santanche-sentiment-analysis-oid.hf.space/classify?text={title}': { 'get': { operationId: 'classify', parameters: [ {name: 'title', in: 'path' } ] } } } } } })