Commit Graph

213 Commits

Author SHA1 Message Date
pngwn
b561a27816
chore: update versions (#7914) 2024-04-08 20:07:24 +01:00
renovate[bot]
aeb9129110
Update dependency @testing-library/dom to v10 (#7962)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-08 10:13:23 -07:00
pngwn
bbdbd28453
chore: update versions (#7871)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-02 13:33:48 -04:00
pngwn
d95a1a44d6
chore: update versions (#7826)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-27 14:25:36 -07:00
renovate[bot]
f18a33a1cc
Update dependency globals to v15 (#7837)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-25 23:28:15 -07:00
renovate[bot]
e5c3cc9620
Update dependency katex to v0.16.10 [SECURITY] (#7828)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-25 13:05:40 -07:00
pngwn
bf5110a26b
chore: update versions (#7771)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-25 12:35:44 -04:00
pngwn
4da194fc77
chore: update versions (#7669)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-19 13:50:31 -07:00
Dawood Khan
15da39fca0
Multimodal Textbox (Chat Input Component) (#7420)
* first pass

* multimodal textbox

* add changeset

* remove file

* more changes

* changes

* add changeset

* revert demo

* doc strings fix

* update demo

* file icons

* more updates

* format

* add story

* remove doc line

* type fixes

* chat interface

* new demo

* image upload fix

* ui changes

* addressing PR comments

* format

* type check

* more pr fixes

* format

* format

* test fixes

* test fixes

* Streaming fixes + other stuff

* optional keys to dict value

* final fixes

* notebook

* format

* Update guides/04_chatbots/01_creating-a-chatbot-fast.md

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

* Update guides/04_chatbots/01_creating-a-chatbot-fast.md

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

* Update guides/04_chatbots/01_creating-a-chatbot-fast.md

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

* merge

* backend fixes

* story fix

* ui test fix

* format

* story

* format

* demo fix

* streaming test fix

* stories fix

* stories fix

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-03-19 13:16:05 -07:00
renovate[bot]
abb3f3c116
Update dependency happy-dom to v14 (#7736)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-19 11:47:03 -07:00
Hannah
a2badf151e
Migrate to Storybook 8 (#7743)
* migrate to storybook 8

* add changeset

* formatting

* test

* pnpm lock

* revert test

* update testing-library

* pass (and improve) failing tests

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-19 11:22:21 -07:00
pngwn
5d1e8dae5a
batch UI updates on a per frame basis (#7564)
* changes

* process fe fn tests

* cleanup

* cleanup

* create_target_meta tests and abstraction

* add interactivity detection and tests

* more functions more tests

* add tests for component loader, fix errors

* fix everything

* add changeset

* add changeset

* ci

* cleanup

* cleanup

* test

* fix again

* tweaks

* cleanup

* add changeset

* fix loading_status

* cleanup

* ensure updates have been flushed before making API requests

* add changeset

* df fix

* fixes

* fix dataframe updates

* fix dataframe updates

* remove $open var

* add changeset

* fix tests

* extend timeout for lite

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2024-03-13 13:46:40 +00:00
pngwn
6683ab2589
chore: update versions (#7630)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-08 16:35:23 -08:00
pngwn
57510f9ce0
Lite version (#7647)
* fix user links

* add gradio as dependency to lite

* tweak

* fiiiiix

* fix deps

* changes

* asd

* asd

* asd

* asd

* fixed

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* fgh

* asd

* asd

* asd

* asd

* add changeset

* prevent duplicate dependency entries

* Update .changeset/changeset.cjs

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-03-08 22:56:34 +00:00
pngwn
d8636bb050
chore: update versions (#7626)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-06 17:13:41 +00:00
pngwn
3d270d43f9
chore: update versions (#7526)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-05 16:54:36 -08:00
renovate[bot]
0eea27a984
chore(deps): update dependency stylus to ^0.63.0 (#7604)
* chore(deps): update dependency stylus to ^0.63.0

* add changeset

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-05 10:25:31 -08:00
renovate[bot]
3940490fc0
chore(deps): update dependency svelte-hmr to ^0.16.0 (#7594)
* chore(deps): update dependency svelte-hmr to ^0.16.0

* add changeset

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
2024-03-04 15:11:12 +00:00
renovate[bot]
4b0d589330
chore(deps): update all non-major dependencies (#7340)
* chore(deps): update all non-major dependencies

* add changeset

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
2024-03-04 14:04:14 +00:00
Abubakar Abid
bd2c695328
Adds a gr.DownloadButton component (#7518)
* py

* path

* barebones js

* add changeset

* add changeset

* downloadbutton

* add changeset

* changes

* clog

* commit

* revert'

* fix

* js

* add changeset

* cleanup

* download

* notebooks

* stories

* change

* fix

* format

* download

* Fix updating `icon` parameter (bug resulting from https://github.com/gradio-app/gradio/pull/7528) (#7554)

* fetch 2

* fix

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-28 12:07:36 -08:00
renovate[bot]
8c9c98a741
chore(deps): update dependency vega to v5.23.0 [security] (#7537)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-26 15:21:11 +00:00
renovate[bot]
0027f0c9d6
chore(deps): update dependency postcss to v8.4.31 [security] (#7536)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-26 15:06:15 +00:00
renovate[bot]
edb756802d
chore(deps): update dependency chromatic to v11 (#7513)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-02-23 10:35:57 -08:00
pngwn
bacbc70fa1
chore: update versions (#7463)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-22 13:29:11 -08:00
renovate[bot]
09de02a9b2
chore(deps): update dependency globals to v14 (#7381)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: pngwn <hello@pngwn.io>
2024-02-20 19:01:41 -08:00
pngwn
1e5e787999
chore: update versions (#7426)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-16 12:28:13 -08:00
pngwn
7b84bc4f05
chore: update versions (#7387)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-14 14:17:50 -08:00
Dylan Ebert
3e886d8f0a
Model3D Gaussian Splatting (#7406)
* add gsplat dependency

add gsplat implementation

run formatting

move example .splat and .ply to url

add changeset

dispose of renderer on unmount

notebook

* dynamically load canvas components
2024-02-14 19:10:52 +00:00
renovate[bot]
5b1ab3727c
chore(deps): update typescript-eslint monorepo to v7 (#7403)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-12 13:47:02 -08:00
pngwn
bb4126cc24
chore: update versions (#7338)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-09 22:15:34 -08:00
pngwn
a7fa47a175
ensure Dataframes in background tabs are visible when the tab is selected (#7354)
* add mutation observer to track visibility changes of tabs

* add changeset

* add changeset

* update console.log statements in Svelte component for debugging purposes

* remove unused table_width variable and update console logs in virtual table component

* move visibility check to table

* try dom rect bindings instead

* update binding of viewport_box to correctly calculate viewport height

* remove console.log statements and unused code

* add changeset

* add changeset

* remove unnecessary assignment of t_width in component

* update svelte-check to make ci pass

* update dependencies for happy-dom and vitest
merged from upstream

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-09 18:23:05 +00:00
Yuichiro Tachibana (Tsuchiya)
7b10d97b0f
Remove the @gradio/wasm dependency from @gradio/gallery that is not used (#7369)
* Remove the `@gradio/wasm` dependency from `@gradio/gallery` that is not used

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-09 23:44:12 +09:00
pngwn
2382f741ff
chore: update versions (#7177)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-06 15:19:29 -08:00
Yuichiro Tachibana (Tsuchiya)
b3a9c83095
Lite: Wasm-compatible Model3D (#7315)
* Make Model3DUpload.svelte Wasm-compatible

* Make Model3D.svelte Wasm-compatible

* add changeset

* Create <Canvas3D /> and use it from <Model3D /> and <Model3DUpload />

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-02-06 13:22:25 -08:00
renovate[bot]
e5344ba0cd
chore(deps): update dependency marked to v12 (#7298)
* chore(deps): update dependency marked to v12

* add changeset

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-05 09:01:19 -08:00
renovate[bot]
aeb0541423
Update dependency npm-run-all2 to v6 (#7271)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-01 11:25:17 -08:00
renovate[bot]
84b9651d1c
Replace dependency npm-run-all with npm-run-all2 ^5.0.0 (#7263)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-01 11:08:31 -08:00
Abubakar Abid
8dd6f4bc19
Handle the case where examples is null for all components (#7192)
* handle null examples

* add changeset

* add changeset

* lint

* merge conflict

* fixes

* add changeset

* stories

* feedback

* examples

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-29 16:51:22 -08:00
Abubakar Abid
e418edd011
Fix SimpleImage package json (#7205)
* fix simple image package json

* add changeset

* format

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-29 05:55:42 -08:00
Abubakar Abid
ccdaec4500
Add a simpleimage template for custom components (#7129)
* simpleimage template

* add changeset

* changes

* change

* changes

* update backend

* update frontend

* add changeset

* lint

* fix package

* add changeset

* remove warnings

* docstrings

* fix error

* fixes

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-26 17:29:29 -08:00
pngwn
138761226a
chore: update versions (#7083)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-25 16:10:24 -08:00
Freddy Boulton
c60ad4d34a
Use Gallery as input component (#7148)
* Gallery as input

* add changeset

* Add keep_captions parameter

* revert notebooks

* fix docstring typo

* use tuples

* remove keep_captions

* Update js/app/test/gallery_component_events.spec.ts

Co-authored-by: pngwn <hello@pngwn.io>

* more precise type hint

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
2024-01-25 18:51:59 -05:00
Abubakar Abid
45f725f8d0
un-disable output components after exception is raised (#7125)
* renable output components after exception

* add changeset

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-23 14:52:21 -08:00
Hannah
bc2cdc1df9
Allow download button for interactive Audio and Video components (#7104)
* allow download button for interactive audio and video components

* add changeset

* document show_download_button in video.py

* ensure show_download_button is by default true for output and false for input components

* fix component test

* tweak default val

* val tweak

* fix test and add story

* pass editable param where needed

* fix another test

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Dawood Khan <dawoodkhan82@gmail.com>
2024-01-23 11:33:59 +01:00
renovate[bot]
c17533c6b0
chore(deps): update dependency jsdom to v24 (#7097)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-21 23:52:35 -08:00
pngwn
0a2ba5d0b0
chore: update versions (#7004)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-19 00:13:02 -05:00
pngwn
07d520c7a2
fix versions (#7069)
* fix versoin

* add changeset

* fix lockfile

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-18 21:01:42 +00:00
pngwn
3a944ed9f1
add autodocs (#7030)
* add autodocs

* remove unused code

* add changeset

* fix all of the things

* fix all of the things

* add changeset

* fix things

* tewak

* fix dep

* add ruff as dep with min version

* make output pretty + fix bugs

* tweaks

* fixes

* fix types maybe

* fix arg refs

* fix test

* fix md

* add error for version

* fix test

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-18 20:47:01 +00:00
Freddy Boulton
6be3c2c47a
Fix Chatbot custom component template (#7038)
* move to core dependency

* add changeset

* lockfile

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-17 10:52:14 -05:00
Abubakar Abid
9cefd2e90a
Refactor examples so they accept data in the same format as is returned by function, rename .as_example() to .process_example() (#6933)
* image-editor-examples

* add changeset

* add changeset

* delete changeset

* change to process_example()

* add changeset

* changes for all components until dataset.py

* rename

* fix checkboxgroup

* format

* changes

* add changeset

* changes

* add changeset

* radio

* add changeset

* changes

* add changeset

* changes

* examples

* remove print

* fix

* clean

* add changeset

* fix tests

* fix tests

* fix test

* fix

* add changeset

* fix video example

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-10 16:35:25 -08:00