upload • AI Agents Framework

upload: Upload the model to specified targets.

upload

Method

</div>

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

Upload the model to specified targets.

Signature

python
def upload(target: Any) -> Any

Parameters

ParamField Any

One of ‘all’, ‘huggingface’, ‘huggingface_gguf’, or ‘ollama’

Returns

ResponseField Any

The result of the operation.

Uses

  • prepare_model
  • save_model_merged
  • push_model_gguf
  • create_and_push_ollama_model

Used By

Source

View on GitHub

praisonai/upload_vision.py at line 107