We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7a5a95 commit 278a957Copy full SHA for 278a957
src/open_clip/push_to_hf_hub.py
@@ -163,7 +163,7 @@ def push_pretrained_to_hf_hub(
163
def generate_readme(model_card: dict, model_name: str):
164
readme_text = "---\n"
165
readme_text += "tags:\n- zero-shot-image-classification\n- clip\n"
166
- readme_text += "library_tag: open_clip\n"
+ readme_text += "library_name: open_clip\n"
167
readme_text += f"license: {model_card.get('license', 'mit')}\n"
168
if 'details' in model_card and 'Dataset' in model_card['details']:
169
readme_text += 'datasets:\n'
0 commit comments