push_to_hub
push_to_hub(
model,
repo_id=DEFAULT_REPO_ID,
*,
token=None,
commit_message='Upload txtcaptcha CRNN',
private=False,
model_card=None,
tag=None,
)Create repo_id if needed and upload weights, config and model card.
Returns the public repo URL. If tag is given, a git tag is created pointing at the new commit — recommended for stable releases so consumers can pin via revision="v0.1.0".