nateraw / modelcards

📝 Utility to create, edit, and publish model cards on the Hugging Face Hub. [**Now lives in huggingface_hub**]
MIT License
15 stars 4 forks source link

Add token for loading card #47

Closed nateraw closed 2 years ago

nateraw commented 2 years ago

Right now you can't load private cards w/o background authentication since token is not exposed.

osanseviero commented 2 years ago

I think this is already supported no? https://github.com/nateraw/modelcards/blob/main/modelcards/cards.py#L85 has a tokenparam

nateraw commented 2 years ago

Ah yea this was closed by #51. Forgot to link this issue there.