> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# upload • AI Agents Framework

> upload: Upload the model to specified targets.

# upload

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**UploadVisionModel**](../classes/UploadVisionModel) class in the [**upload\_vision**](../modules/upload_vision) module.

Upload the model to specified targets.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def upload(target: Any) -> Any
```

## Parameters

<ParamField query="target" type="Any" required={false} default="'all'">
  One of 'all', 'huggingface', 'huggingface\_gguf', or 'ollama'
</ParamField>

### Returns

<ResponseField name="Returns" type="Any">
  The result of the operation.
</ResponseField>

## Uses

* `prepare_model`
* `save_model_merged`
* `push_model_gguf`
* `create_and_push_ollama_model`

## Used By

* [`main`](../functions/main)

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai/praisonai/upload_vision.py#L107">
  `praisonai/upload_vision.py` at line 107
</Card>
