Spaces:
Running
on
A10G
Running
on
A10G
Some cleaning in huggingface_hub integration
#13
by
Wauplin
HF staff
- opened
Nothing critical (just some cleaning):
- use
api
everywhere to avoid passingtoken
in create_repo + whoami whoami
is not needed. Repo_id is inferred when creating the repo.repo_type="model"
is not neededMODEL_NAME
is not a constant => rename tomodel_name
repo_type="model" is not needed
good to be explicit though no?
Agree with all other points
Up to you 🤷 I personally do it the implicit way for models but both are fine
Thanks! I'm going to YOLO merge this!
reach-vb
changed pull request status to
merged