Prepare Model • AI Agents Framework

prepare_model: Load the trained model for uploading.

prepare_model

Method

</div>

This is a method of the UploadVisionModel class in the upload_vision module.

Load the trained model for uploading.

Signature

python
def prepare_model() -> Any

Returns

ResponseField Any

The result of the operation.

Uses

  • FastVisionModel.from_pretrained

Used By

Source

View on GitHub

praisonai/upload_vision.py at line 28