Commit
•
8f2e752
1
Parent(s):
4a629d2
Remove text to image tag
Browse filesWebUIs 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)
```
README.md
CHANGED
@@ -3,7 +3,6 @@ license: creativeml-openrail-m
|
|
3 |
tags:
|
4 |
- stable-diffusion
|
5 |
- stable-diffusion-diffusers
|
6 |
-
- text-to-image
|
7 |
- text-to-audio
|
8 |
inference: true
|
9 |
extra_gated_prompt: |-
|
|
|
3 |
tags:
|
4 |
- stable-diffusion
|
5 |
- stable-diffusion-diffusers
|
|
|
6 |
- text-to-audio
|
7 |
inference: true
|
8 |
extra_gated_prompt: |-
|