Remove text-to-image tag #12

patrickvonplaten Stability AI org

WebUIs build on top of diffusers start to rely on the HF Hub client library to filter for models. This one should not be displayed when listing "text-to-image" models:

import huggingface_hub as hf
hf_api = hf.HfApi()
model_filter = hf.ModelFilter(
    library=['diffusers', 'stable-diffusion'],
res = hf_api.list_models(filter=model_filter, full=True, limit=200, sort="downloads", direction=-1)
patrickvonplaten Stability AI org
patrickvonplaten changed pull request status to merged

Sign up or log in to comment