File tree
119 files changed
+352
-119
lines changed- packages
- inference/src/snippets
- tasks/src
- tasks-gen
- scripts
- snippets-fixtures
- automatic-speech-recognition
- js
- fetch
- huggingface.js
- python
- huggingface_hub
- requests
- sh/curl
- basic-snippet--token-classification
- js
- fetch
- huggingface.js
- python
- huggingface_hub
- requests
- sh/curl
- bill-to-param
- js
- huggingface.js
- openai
- python
- huggingface_hub
- openai
- requests
- sh/curl
- conversational-llm-non-stream
- js
- huggingface.js
- openai
- python
- huggingface_hub
- openai
- requests
- sh/curl
- conversational-llm-stream
- js
- huggingface.js
- openai
- python
- huggingface_hub
- openai
- requests
- sh/curl
- conversational-vlm-non-stream
- js
- huggingface.js
- openai
- python
- huggingface_hub
- openai
- requests
- sh/curl
- conversational-vlm-stream
- js
- huggingface.js
- openai
- python
- huggingface_hub
- openai
- requests
- sh/curl
- document-question-answering/python
- huggingface_hub
- requests
- feature-extraction
- js
- fetch
- huggingface.js
- python
- huggingface_hub
- requests
- sh/curl
- image-classification
- js
- fetch
- huggingface.js
- python
- huggingface_hub
- requests
- sh/curl
- image-to-image/python
- huggingface_hub
- requests
- question-answering/python/huggingface_hub
- table-question-answering/python/huggingface_hub
- tabular/python/requests
- text-classification
- js
- fetch
- huggingface.js
- python
- huggingface_hub
- requests
- sh/curl
- text-to-audio-transformers
- js/fetch
- python/requests
- text-to-image
- js
- fetch
- huggingface.js
- python
- huggingface_hub
- requests
- text-to-image--lora
- js
- fetch
- huggingface.js
- python/huggingface_hub
- text-to-speech
- js
- fetch
- huggingface.js
- python
- huggingface_hub
- requests
- text-to-video
- js/huggingface.js
- python/huggingface_hub
- with-access-token
- js
- huggingface.js
- openai
- python
- huggingface_hub
- openai
- requests
- sh/curl
- zero-shot-classification
- js/fetch
- python/requests
- sh/curl
- zero-shot-image-classification/python/requests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
119 files changed
+352
-119
lines changedLines changed: 69 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
17 |
| - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
18 | 21 |
| |
19 | 22 |
| |
20 | 23 |
| |
| |||
121 | 124 |
| |
122 | 125 |
| |
123 | 126 |
| |
| 127 | + | |
| 128 | + | |
124 | 129 |
| |
125 | 130 |
| |
126 | 131 |
| |
127 | 132 |
| |
128 |
| - | |
129 | 133 |
| |
130 | 134 |
| |
131 | 135 |
| |
| |||
149 | 153 |
| |
150 | 154 |
| |
151 | 155 |
| |
| 156 | + | |
| 157 | + | |
152 | 158 |
| |
153 | 159 |
| |
154 | 160 |
| |
155 | 161 |
| |
156 | 162 |
| |
157 | 163 |
| |
158 |
| - | |
| 164 | + | |
159 | 165 |
| |
160 | 166 |
| |
161 | 167 |
| |
| |||
180 | 186 |
| |
181 | 187 |
| |
182 | 188 |
| |
183 |
| - | |
| 189 | + | |
184 | 190 |
| |
185 | 191 |
| |
186 | 192 |
| |
| |||
248 | 254 |
| |
249 | 255 |
| |
250 | 256 |
| |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
251 | 262 |
| |
252 | 263 |
| |
253 | 264 |
| |
| |||
299 | 310 |
| |
300 | 311 |
| |
301 | 312 |
| |
302 |
| - | |
303 | 313 |
| |
304 | 314 |
| |
305 | 315 |
| |
| |||
339 | 349 |
| |
340 | 350 |
| |
341 | 351 |
| |
342 |
| - | |
343 | 352 |
| |
344 | 353 |
| |
345 | 354 |
| |
346 | 355 |
| |
347 | 356 |
| |
348 |
| - | |
| 357 | + | |
349 | 358 |
| |
350 | 359 |
| |
351 | 360 |
| |
| |||
420 | 429 |
| |
421 | 430 |
| |
422 | 431 |
| |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + |
Lines changed: 12 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
240 | 240 |
| |
241 | 241 |
| |
242 | 242 |
| |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
243 | 255 |
| |
244 | 256 |
| |
245 | 257 |
| |
| |||
314 | 326 |
| |
315 | 327 |
| |
316 | 328 |
| |
317 |
| - | |
318 | 329 |
| |
319 | 330 |
| |
320 | 331 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
| 6 | + | |
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
| 3 | + | |
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
1 | 2 |
| |
2 | 3 |
| |
3 | 4 |
| |
4 | 5 |
| |
5 |
| - | |
| 6 | + | |
6 | 7 |
| |
7 | 8 |
| |
8 | 9 |
|
packages/tasks-gen/snippets-fixtures/automatic-speech-recognition/python/requests/0.hf-inference.py
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
1 | 2 |
| |
2 | 3 |
| |
3 | 4 |
| |
4 | 5 |
| |
5 |
| - | |
| 6 | + | |
6 | 7 |
| |
7 | 8 |
| |
8 | 9 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
| 3 | + | |
4 | 4 |
| |
5 | 5 |
|
packages/tasks-gen/snippets-fixtures/basic-snippet--token-classification/js/fetch/0.hf-inference.js
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
| 6 | + | |
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
| 3 | + | |
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
1 | 2 |
| |
2 | 3 |
| |
3 | 4 |
| |
4 | 5 |
| |
5 |
| - | |
| 6 | + | |
6 | 7 |
| |
7 | 8 |
| |
8 | 9 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
1 | 2 |
| |
2 | 3 |
| |
3 | 4 |
| |
4 | 5 |
| |
5 |
| - | |
| 6 | + | |
6 | 7 |
| |
7 | 8 |
| |
8 | 9 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
| 3 | + | |
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
| 3 | + | |
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 |
| - | |
| 5 | + | |
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
1 | 2 |
| |
2 | 3 |
| |
3 | 4 |
| |
4 | 5 |
| |
5 |
| - | |
| 6 | + | |
6 | 7 |
| |
7 | 8 |
| |
8 | 9 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
1 | 2 |
| |
2 | 3 |
| |
3 | 4 |
| |
4 | 5 |
| |
5 |
| - | |
| 6 | + | |
6 | 7 |
| |
7 | 8 |
| |
8 | 9 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
1 | 2 |
| |
2 | 3 |
| |
3 | 4 |
| |
4 | 5 |
| |
5 |
| - | |
| 6 | + | |
6 | 7 |
| |
7 | 8 |
| |
8 | 9 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 |
| - | |
| 2 | + | |
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
| 3 | + | |
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
| 3 | + | |
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 |
| - | |
| 5 | + | |
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 |
| - | |
| 5 | + | |
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
1 | 2 |
| |
2 | 3 |
| |
3 | 4 |
| |
4 | 5 |
| |
5 |
| - | |
| 6 | + | |
6 | 7 |
| |
7 | 8 |
| |
8 | 9 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
1 | 2 |
| |
2 | 3 |
| |
3 | 4 |
| |
4 | 5 |
| |
5 |
| - | |
| 6 | + | |
6 | 7 |
| |
7 | 8 |
| |
8 | 9 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
1 | 2 |
| |
2 | 3 |
| |
3 | 4 |
| |
4 | 5 |
| |
5 |
| - | |
| 6 | + | |
6 | 7 |
| |
7 | 8 |
| |
8 | 9 |
| |
|
0 commit comments