Package Exports
- modselect
- modselect/dist/index.js
- modselect/dist/index.module.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (modselect) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Modselect
Modselect is an npm package that simplifies the usage of various AI models, including ChatGPT, Gemini and models available on Hugging Face. It provides a convenient way to interact with models for tasks like image-to-text conversion, text-to-text generation, text-to-audio, and text-to-image.
Usage
Installation
npm install modselectImport
import Modselect from 'modselect';Hugging Face
<Modselect.HuggingFace
type="image-to-text"
API_KEY="hf_apiKey"
model="Salesforce/blip-image-captioning-large" />