patrickvonplaten commited on
Commit
416b1f2
1 Parent(s): 1f2883b

Remove text to image tag

Browse files

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:
```py
import huggingface_hub as hf
hf_api = hf.HfApi()
model_filter = hf.ModelFilter(
model_name="",
task='text-to-image',
tags='stable-diffusion',
library=['diffusers', 'stable-diffusion'],
)
res = hf_api.list_models(filter=model_filter, full=True, limit=200, sort="downloads", direction=-1)
```

Files changed (1) hide show
  1. README.md +0 -1
README.md CHANGED
@@ -2,7 +2,6 @@
2
  license: openrail++
3
  tags:
4
  - stable-diffusion
5
- - text-to-image
6
  inference: false
7
  ---
8
 
 
2
  license: openrail++
3
  tags:
4
  - stable-diffusion
 
5
  inference: false
6
  ---
7