-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gradio components in gr.Chatbot()
#8131
Commits on Apr 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 803a059 - Browse repository at this point
Copy the full SHA 803a059View commit details
Commits on Apr 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for eaf3737 - Browse repository at this point
Copy the full SHA eaf3737View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e161e7 - Browse repository at this point
Copy the full SHA 0e161e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 539ff05 - Browse repository at this point
Copy the full SHA 539ff05View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb2b107 - Browse repository at this point
Copy the full SHA fb2b107View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54af1b5 - Browse repository at this point
Copy the full SHA 54af1b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1b9604 - Browse repository at this point
Copy the full SHA d1b9604View commit details
Commits on May 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 838965f - Browse repository at this point
Copy the full SHA 838965fView commit details -
Lite wheel optimization (#7855)
* Add `pull_request.branches.main` as a trigger of the `publish` workflow * [WIP] Comment out the publish steps * Package and upload the NPM package for debug * Skip the copy_frontend.py hook in the Lite build * add changeset * [WIP] Show gradio files * [WIP] Show gradio files * Comment out installing the gradio and gradio_client libraries * Restore installing gradio_client because it's used by `python js/_website/generate_jsons/generate.py` that follows * Restore installing gradio because it's used by `python js/_website/generate_jsons/generate.py` that follows * Add code * Revert "[WIP] Show gradio files" This reverts commit e15fef2. * Build the gradio wheel with the custom lite target * add changeset * Revert "[WIP] Show gradio files" This reverts commit aef053f. * Revert "Skip the copy_frontend.py hook in the Lite build" This reverts commit ca296d0. * Update .github/actions/install-frontend-deps/action.yml for hatch installation * [WIP] Fix test-functional.yml and .github/actions/install-all-deps/action.yml to call the setup actions in this branch * Revert "[WIP] Fix test-functional.yml and .github/actions/install-all-deps/action.yml to call the setup actions in this branch" This reverts commit 571823b. * Comment-in lines in publish.yml * Move Lite build from publish.yml to deploy-spaces.yml * Use the build_lite option of install-all-deps instead of running the build command * [TMP] Change the branch of action files * Fix the hatch Lite build setting * Return pnpm pack to deploy-space * Revert "[TMP] Change the branch of action files" This reverts commit fe4e1c8. * Remove dependencies for lite build * [TMP] Change the branch of action files * Revert "Remove dependencies for lite build" This reverts commit 856a858. * Install packaging>=23.2 * [TMP] Show packaging version * Fix pip install * Fix * Uninstall packaging once * Use `pip install -U` instead of uninstalling the exiting version * Revert "[TMP] Show packaging version" This reverts commit 910b6bb. * Add `-U` flag * Set packaging version as >=23.2 * Revert the changes on pip install * Set packaging version as >=23.2 in requirements.txt * Revert "Set packaging version as >=23.2" This reverts commit 8aa77c8. * Fix hook name * Revert "Set packaging version as >=23.2 in requirements.txt" This reverts commit fbd605c. * Revert "Revert the changes on pip install" This reverts commit 81ff38a. * Add comments * Revert "[TMP] Change the branch of action files" This reverts commit 0d6aa48. * Revert the trigger of .github/workflows/deploy-spaces.yml * Remove unused `node_auth_token` and `npm_token` inputs from the `install-all-deps` action * [TMP] Trigger CI based on this PR * Remove packging installation * Revert "Remove packging installation" This reverts commit 4a4f18d. * Revert "[TMP] Trigger CI based on this PR" This reverts commit 6cea830. --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d3a11ca - Browse repository at this point
Copy the full SHA d3a11caView commit details -
Add ETag to
/custom_component
route to control browser caching (#8170)* Add code * add changeset * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 80b868e - Browse repository at this point
Copy the full SHA 80b868eView commit details -
Implement JS Client tests (#8109)
* add msw setup and initialisation tests * add changeset * add walk_and_store_blobs improvements and add tests * add changeset * api_info tests * add direct space URL link tests * fix tests * add view_api tests * add post_message test * tweak * add spaces tests * jwt and protocol tests * add post_data tests * test tweaks --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for ce4d348 - Browse repository at this point
Copy the full SHA ce4d348View commit details -
Remove hatch installation in js/app/package.json which is no longer n…
…eeded (#8174) * Remove hatch installation in js/app/package.json which is no longer needed * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for e4bd0c4 - Browse repository at this point
Copy the full SHA e4bd0c4View commit details -
Update test-functional.yml - Fix vulnerability code injection (#8145)
* Update test-functional.yml * Update test-functional.yml * tweaks --------- Co-authored-by: pngwn <hello@pngwn.io>
Configuration menu - View commit details
-
Copy full SHA for e94d7da - Browse repository at this point
Copy the full SHA e94d7daView commit details -
rework upload to be a class method + pass client into each component (#…
…8179) * rework upload to be a class method + pass client into each component * add changeset * Update client/js/src/utils/upload_files.ts * fix storybook * review comments * Apply suggestions from code review Co-authored-by: Hannah <hannahblair@users.noreply.github.com> * format * ts fix --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 9d8ead8 - Browse repository at this point
Copy the full SHA 9d8ead8View commit details -
chore(deps): update pnpm to v9 (#8123)
* chore(deps): update pnpm to v9 * update workflow --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: pngwn <hello@pngwn.io>
Configuration menu - View commit details
-
Copy full SHA for 7d1c87b - Browse repository at this point
Copy the full SHA 7d1c87bView commit details -
Use workspace version for code in _website (#8189)
* workspace * add changeset * remove circular import from preview * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 1b3d2b6 - Browse repository at this point
Copy the full SHA 1b3d2b6View commit details -
Pass Error status in /dev/reload stream (#8106)
* get error message * Support multiple clients * add changeset * add changeset * add changeset * Display in UI * console.error the python traceback * lint --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 1f0483f - Browse repository at this point
Copy the full SHA 1f0483fView commit details -
Convert sse calls in client from async to sync (#8182)
* convert sse calls in client from async to sync * add changeset * more sync * lint * more sync * fix threadpool * fix timeouts * reuse executor * lint --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 1b1ed31 - Browse repository at this point
Copy the full SHA 1b1ed31View commit details -
run python reload only if python file changed (#8194)
* run python reload only if python file changed * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0430f79 - Browse repository at this point
Copy the full SHA 0430f79View commit details -
fix: handling SIGINT correctly in reload.py, single entrance of block…
…_thread in blocks.py (#8158) * fix: handling SIGINT, single block_thread and fix popen * Use pass --------- Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 8e0d09d - Browse repository at this point
Copy the full SHA 8e0d09dView commit details -
Add eventsource polyfill for Node.js and browser environments (#8118)
* add msw setup and initialisation tests * add changeset * add eventsource polyfill for node and browser envs * add changeset * add changeset * config tweak * types * update eventsource usage * add changeset * add walk_and_store_blobs improvements and add tests * add changeset * api_info tests * add direct space URL link tests * fix tests * add view_api tests * add post_message test * tweak * add spaces tests * jwt and protocol tests * add post_data tests * test tweaks * dynamically import eventsource * revet eventsource imports * add node test * lockfile * add client test in root pkg file * lcokfile * remove eventsource from js/app * add changeset * remove ts ignore * move eventsource polyfill to eventsource factory * add changeset * tweak --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 1d7fc6f - Browse repository at this point
Copy the full SHA 1d7fc6fView commit details -
Ensure connectivity to private HF spaces with SSE protocol (#8181)
* add msw setup and initialisation tests * add changeset * add eventsource polyfill for node and browser envs * add changeset * add changeset * config tweak * types * update eventsource usage * add changeset * add walk_and_store_blobs improvements and add tests * add changeset * api_info tests * add direct space URL link tests * fix tests * add view_api tests * add post_message test * tweak * add spaces tests * jwt and protocol tests * add post_data tests * test tweaks * dynamically import eventsource * revet eventsource imports * add jwt param to sse requests * add stream test * add changeset * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for c5277a3 - Browse repository at this point
Copy the full SHA c5277a3View commit details -
Support custom components in gr.load (#8200)
* Add code * add changeset * Update fuzzy-mirrors-scream.md * Update fuzzy-mirrors-scream.md * Fix tests * Update .changeset/fuzzy-mirrors-scream.md Co-authored-by: Abubakar Abid <abubakar@huggingface.co> * Fix code --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Configuration menu - View commit details
-
Copy full SHA for 6cac294 - Browse repository at this point
Copy the full SHA 6cac294View commit details -
Refactor analytics to not use api.gradio.app (#8180)
* Analytics refactor * add changeset * add changeset * Fix wasm? * Fix python tests' * Revert changes chrome * use util function --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 6b102f8 - Browse repository at this point
Copy the full SHA 6b102f8View commit details -
Specify the fastapi version on Lite to avoid ujson installation which…
… is not available on Pyodide yet (#8204) * Specify the fastapi version on Lite to avoid ujson installation which is not available on Pyodide yet * add changeset * Refactoring --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 7d1a125 - Browse repository at this point
Copy the full SHA 7d1a125View commit details -
Set the show_api flag on Lite (#8205)
* Set the show_api flag on Lite * add changeset * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 9533ea6 - Browse repository at this point
Copy the full SHA 9533ea6View commit details -
Extend Interface.from_pipeline() to support Transformers.js.py pipeli…
…nes 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>
Configuration menu - View commit details
-
Copy full SHA for 5678375 - Browse repository at this point
Copy the full SHA 5678375View commit details -
Configuration menu - View commit details
-
Copy full SHA for 078df9c - Browse repository at this point
Copy the full SHA 078df9cView commit details -
allow the canvas size to be set on the
ImageEditor
(#8127)* add canvas size kwarg to imageeditor * add changeset * fix tests * fix cropsize * changes * notebooks * update docstrings * fix type * fix undefined dimensions * Update image_editor.py Co-authored-by: Abubakar Abid <abubakar@huggingface.co> * fix type * format --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Configuration menu - View commit details
-
Copy full SHA for 7e65963 - Browse repository at this point
Copy the full SHA 7e65963View commit details -
Rename
eventSource_Factory
andfetch_implementation
(#8209)* rename eventSource_factory -> stream_factory + rename event_source -> steam * rename fetch_implementation -> fetch * rename fetch to _fetch due to global.fetch conflict * add changeset * format * format * format * format * fix --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 70783cf - Browse repository at this point
Copy the full SHA 70783cfView commit details -
remove redundant event source logic (#8211)
* remove redundant event source logic * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 4183dd8 - Browse repository at this point
Copy the full SHA 4183dd8View commit details -
Only connect to heartbeat if needed (#8169)
* Add connect_heartbeat field * fix types * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for c96ef0d - Browse repository at this point
Copy the full SHA c96ef0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b2fa59 - Browse repository at this point
Copy the full SHA 1b2fa59View commit details
Commits on May 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 68c70df - Browse repository at this point
Copy the full SHA 68c70dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 190edf7 - Browse repository at this point
Copy the full SHA 190edf7View commit details
Commits on May 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2b4c079 - Browse repository at this point
Copy the full SHA 2b4c079View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a9318d - Browse repository at this point
Copy the full SHA 1a9318dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ba056cb - Browse repository at this point
Copy the full SHA ba056cbView commit details
Commits on May 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c3ba20a - Browse repository at this point
Copy the full SHA c3ba20aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5955494 - Browse repository at this point
Copy the full SHA 5955494View commit details -
Configuration menu - View commit details
-
Copy full SHA for daeb642 - Browse repository at this point
Copy the full SHA daeb642View commit details
Commits on May 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2fc0ba9 - Browse repository at this point
Copy the full SHA 2fc0ba9View commit details -
Configuration menu - View commit details
-
Copy full SHA for d179f7e - Browse repository at this point
Copy the full SHA d179f7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 649c566 - Browse repository at this point
Copy the full SHA 649c566View commit details
Commits on May 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 42144cb - Browse repository at this point
Copy the full SHA 42144cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 688e576 - Browse repository at this point
Copy the full SHA 688e576View commit details
Commits on May 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a7ca154 - Browse repository at this point
Copy the full SHA a7ca154View commit details
Commits on May 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 411e736 - Browse repository at this point
Copy the full SHA 411e736View commit details
Commits on May 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5f3321b - Browse repository at this point
Copy the full SHA 5f3321bView commit details
Commits on May 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 80a3324 - Browse repository at this point
Copy the full SHA 80a3324View commit details
Commits on May 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 61ae7c4 - Browse repository at this point
Copy the full SHA 61ae7c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c0ed798 - Browse repository at this point
Copy the full SHA c0ed798View commit details -
Configuration menu - View commit details
-
Copy full SHA for acc78b9 - Browse repository at this point
Copy the full SHA acc78b9View commit details
Commits on Jun 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 89540fb - Browse repository at this point
Copy the full SHA 89540fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 620e7d9 - Browse repository at this point
Copy the full SHA 620e7d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ccc896 - Browse repository at this point
Copy the full SHA 6ccc896View commit details -
Configuration menu - View commit details
-
Copy full SHA for f8a1b2b - Browse repository at this point
Copy the full SHA f8a1b2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ef7bd9 - Browse repository at this point
Copy the full SHA 2ef7bd9View commit details
Commits on Jun 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 37bddec - Browse repository at this point
Copy the full SHA 37bddecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 71d3d40 - Browse repository at this point
Copy the full SHA 71d3d40View commit details
Commits on Jun 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3433694 - Browse repository at this point
Copy the full SHA 3433694View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82220e2 - Browse repository at this point
Copy the full SHA 82220e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for a713691 - Browse repository at this point
Copy the full SHA a713691View commit details -
Configuration menu - View commit details
-
Copy full SHA for 825ee2b - Browse repository at this point
Copy the full SHA 825ee2bView commit details
Commits on Jun 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 60dd746 - Browse repository at this point
Copy the full SHA 60dd746View commit details -
Configuration menu - View commit details
-
Copy full SHA for 448dad1 - Browse repository at this point
Copy the full SHA 448dad1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95ef23a - Browse repository at this point
Copy the full SHA 95ef23aView commit details -
Configuration menu - View commit details
-
Copy full SHA for af62d2c - Browse repository at this point
Copy the full SHA af62d2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e5e7e7b - Browse repository at this point
Copy the full SHA e5e7e7bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 247f1e8 - Browse repository at this point
Copy the full SHA 247f1e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 57962c8 - Browse repository at this point
Copy the full SHA 57962c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for e3075d3 - Browse repository at this point
Copy the full SHA e3075d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb76e5e - Browse repository at this point
Copy the full SHA bb76e5eView commit details
Commits on Jun 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d8e44fc - Browse repository at this point
Copy the full SHA d8e44fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for e83e688 - Browse repository at this point
Copy the full SHA e83e688View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8cb6a3d - Browse repository at this point
Copy the full SHA 8cb6a3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 95fd6b0 - Browse repository at this point
Copy the full SHA 95fd6b0View commit details
Commits on Jun 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ea43e95 - Browse repository at this point
Copy the full SHA ea43e95View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4282fb - Browse repository at this point
Copy the full SHA f4282fbView commit details