from transformers import Trainer | |
# Assuming your Trainer object is called 'trainer' | |
Trainer.push_to_hub( | |
"ranga-godhandaraman/avatar-generator-women", # Replace with your details | |
overwrite=True # Set overwrite to True to update existing version (optional) | |
) | |