SIGN IN SIGN UP

🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.

0 0 104 Python

fix: owned_by field in GET /v1/models returns list instead of string (#46006)

fix: get_gen_models returns list instead of string for owned_by field

repo.repo_id.split("/") returns a list like ["author", "model_name"]
but owned_by expects a string. Add [0] index to extract just the author.
N
Nilesh Patil committed
6b42f331ce4f9920f964cbc9cce729a3d8486129
Parent: 3034a13
Committed by GitHub <noreply@github.com> on 5/19/2026, 4:59:56 AM