Save Model Merged • AI Agents Framework

save_model_merged: Save merged model to Hugging Face Hub.

save_model_merged

Method

</div>

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

Save merged model to Hugging Face Hub.

Signature

python
def save_model_merged() -> Any

Returns

ResponseField Any

The result of the operation.

Uses

  • exists
  • shutil.rmtree
  • push_to_hub_merged
  • os.getenv

Used By

Source

View on GitHub

praisonai/upload_vision.py at line 38