gradio/guides
Hannah 450b8cc898
Refactor JS Client (#7646)
* initial setup

* fix hf token prefix

* warnings + error handling

* implement stream, predict and submit

* update blocks with new client

* add changeset

* temp comment

* add changeset

* add sse_v3 chages

* imrpove typing, reimplement websocket logic

* refactor zerogpu logic

* integrate fetch_implemenation

* wasm changes

* tweaks

* tscheck fixes

* type fixes

* test

* test import tweaks

* test

* package.json

* improve typing + config

* config tweak

* remove fetch-mock

* pnpm lock

* config

* remove module

* tweak

* tweak

* fix config

* test

* test

* lockfile

* fix types

* more config tweaks

* type fixes

* formatting

* fix typing

* formatting

* type fixes

* test

* lockfile

* revert comment

* package.json

* tweak

* formatting

* test

* revert ts removal

* remove comments + logic fixes

* type fix

* formatting

* test

* stream logic changes

* fix test

* revert comments

* fix streaming test

* stream tweak

* data typing

* fix wasm fetch

* client typing tweaks

* more fixes + typing improvements

* move functions

* event_source tweaks

* cleanup

* add hardware types and cleanup jwt

* improve api info typing

* add await client() backwards compatiblity

* rename create to connect and move duplicate logic

* Update `Client` usage examples (#8003)

* update client examples

* remove test data

* fix types

* remove types changes

* client -> Client.create

* Update client/js/README.md

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

* Update client/js/README.md

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

* update duplicate docs

* attempt to update cn docs

* format

---------

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

* type improvements and config error handling

* fix image editor issue

* Merge branch 'main' into refactor-client

* improve typing

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-04-19 23:36:13 +02:00
..
01_getting-started Add max_file_size parameter to launch() that limits the size of files that can be uploaded in the Gradio app (#7909) 2024-04-19 15:38:53 -04:00
02_building-interfaces Add support for lazy caching of examples, as well as add GRADIO_CACHE_EXAMPLES env variable (#7863) 2024-03-29 23:14:33 +00:00
03_building-with-blocks Update 02_controlling-layout.md (#7434) 2024-02-15 15:50:42 +01:00
04_chatbots Clarify the streaming response documentation (#7924) 2024-04-05 11:54:39 -04:00
05_custom-components Add --python-path, --pip-path, --gradio-path CLI arguments to let custom component developers control which executable is used (#7638) 2024-03-08 15:01:49 -08:00
06_integrating-other-frameworks Refactor Inference API and rename it to Serverless Inference Endpoints (#7295) 2024-02-06 12:27:44 -08:00
07_tabular-data-science-and-plots
08_gradio-clients-and-lite Refactor JS Client (#7646) 2024-04-19 23:36:13 +02:00
09_other-tutorials Adding wrapping-layouts guide (#7953) 2024-04-16 17:08:00 -04:00
assets
cn Refactor JS Client (#7646) 2024-04-19 23:36:13 +02:00
CONTRIBUTING.md