Skip to content

Commit d73d268

Browse files
committed
fixes
1 parent a5a5e9a commit d73d268

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/api-inference/register-as-a-provider.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ model (basically which types of inputs and outputs the model has), for instance
2727
or "text-to-image". It is indicated prominently on model pages, here:
2828

2929
<div class="flex justify-center">
30-
<img class="block light:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/inference-providers/pipeline-tag-on-model-page-light.png"/>
31-
<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/inference-providers/pipeline-tag-on-model-page-dark.png"/>
30+
<picture>
31+
<source media="(prefers-color-scheme: dark)" srcset="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/inference-providers/pipeline-tag-on-model-page-dark.png">
32+
<img media="(prefers-color-scheme: light)" srcset="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/inference-providers/pipeline-tag-on-model-page-light.png" alt="Pipeline tag on model page">
33+
</picture>
3234
</div>
3335

3436
The list of all possible tasks can be found at https://huggingface.co/tasks and the list of JS method names is documented in the README at https://github.com/huggingface/huggingface.js/tree/main/packages/inference.
@@ -183,7 +185,7 @@ our users only pay the standard provider API rates. There's no additional markup
183185
just pass through the provider costs directly.
184186

185187
<div class="flex justify-center">
186-
<img src="https://huggingface.co/datasets/huggingface/documentation-images/inference-providers/types_of_billing.png"/>
188+
<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/inference-providers/types_of_billing.png"/>
187189
</div>
188190

189191
For LLM providers, a workaround some people use is to extract numbers of input and output

0 commit comments

Comments
 (0)