gradio/.changeset
Yuichiro Tachibana (Tsuchiya) 1435d1d2dc
Extend Interface.from_pipeline() to support Transformers.js.py pipelines on Lite (#8052)
* Extend Interface.from_pipeline() to support Transformers.js.py pipelines on Lite (wip: only object-detection in this commit)

* add changeset

* Add image-classification and image-segmentation

* Add zero-shot-image-classification and zero-shot-object-detection

* Add document-question-answering

* Add feature-extraction and fill-mask

* Add question-answering and summarization

* Fix an error message

* Add text2text-generation, text-classification, and text-generation

* Add translation andtranslation_xx_to_yy

* Add zero-shot-classification

* Add postprocess_takes_inputs to control the args passed to the postprocess function of each pipeline

* Add topk option to image-classification

* format_backend

* Add audio-classification, automatic-speech-recognition, and zero-shot-audio-classification

* Add image-to-text

* Add token-classification (with JSON component as an output. Is it correct?)

* Ignore import type failure of transformers_js_py

* Add image-feature-extraction

* Add image-to-image

* Add text-to-audio

* Add depth-estimation

* Remove `render=False`

* Reorder the if-blocks following the Transformers.js doc

* Update gradio/pipelines_utils.py

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Update gradio/pipelines_utils.py

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Fix feature-extraction demo

* Fix demo title

* Add guides/08_gradio-clients-and-lite/gradio-lite-and-transformers-js.md without contents

* Rename guides/08_gradio-clients-and-lite/*.md to fix the order

* Use pipeline.model.config._name_or_path for the demo title instead of pipeline.model.config.model_type

* Fix normal Interface.from_pipeline to use pipeline.model.config.name_or_path as the demo title

* Write an article about Gradio-Lite and Transformers.js

* Update the doc

* tweaks

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-05-03 07:37:51 +00:00
..
calm-goats-sit.md Remove hatch installation in js/app/package.json which is no longer needed (#8174) 2024-05-01 07:45:38 +09:00
changeset.cjs Lite version (#7647) 2024-03-08 22:56:34 +00:00
cold-spies-fail.md fix: handling SIGINT correctly in reload.py, single entrance of block_thread in blocks.py (#8158) 2024-05-02 17:58:25 +00:00
config.json unified release process (#4986) 2023-07-21 19:13:21 +01:00
cruel-cars-think.md Set the show_api flag on Lite (#8205) 2024-05-03 00:24:49 -07:00
fix_changelogs.cjs fix formatting error in gradio/lite package.json (#7648) 2024-03-08 15:19:51 -08:00
four-crabs-rescue.md Make guide for tailwind more verbose (#8152) 2024-04-30 03:35:22 +01:00
fuzzy-mirrors-scream.md Support custom components in gr.load (#8200) 2024-05-02 23:07:45 +00:00
gentle-berries-fetch.md Refactor analytics to not use api.gradio.app (#8180) 2024-05-02 20:29:19 -04:00
great-poets-visit.md Convert sse calls in client from async to sync (#8182) 2024-05-01 21:48:49 -07:00
huge-rivers-cough.md rework upload to be a class method + pass client into each component (#8179) 2024-05-01 14:55:41 +00:00
hungry-icons-serve.md Extend Interface.from_pipeline() to support Transformers.js.py pipelines on Lite (#8052) 2024-05-03 07:37:51 +00:00
icy-otters-stand.md Add ETag to /custom_component route to control browser caching (#8170) 2024-04-30 10:22:28 -04:00
major-zoos-read.md run python reload only if python file changed (#8194) 2024-05-02 17:42:41 +00:00
public-falcons-float.md Use workspace version for code in _website (#8189) 2024-05-01 14:17:56 -07:00
README.md move files (#3605) 2023-03-27 16:12:58 -07:00
red-colts-burn.md Add eventsource polyfill for Node.js and browser environments (#8118) 2024-05-02 22:49:55 +02:00
ripe-shirts-grow.md Implement JS Client tests (#8109) 2024-04-30 18:50:38 +02:00
shiny-toes-beam.md Specify the fastapi version on Lite to avoid ujson installation which is not available on Pyodide yet (#8204) 2024-05-03 15:12:15 +09:00
slow-bats-sniff.md Pass Error status in /dev/reload stream (#8106) 2024-05-01 22:21:54 +00:00
spotty-toes-argue.md Lite wheel optimization (#7855) 2024-04-30 03:18:13 +00:00
yummy-paws-eat.md Ensure connectivity to private HF spaces with SSE protocol (#8181) 2024-05-02 23:05:56 +02:00

Changesets

Hello and welcome! This folder has been automatically generated by @changesets/cli, a build tool that works with multi-package repos, or single-package repos to help you version and publish your code. You can find the full documentation for it in our repository

We have a quick list of common questions to get you started engaging with this project in our documentation