Commit Graph

5889 Commits

Author SHA1 Message Date
pngwn
200237d73c
chore: update versions (#6331)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-10 15:12:33 -08:00
Freddy Boulton
8a3f45c261
Fix component update bug (#6368)
* Add code

* Add comment

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-10 12:26:07 -08:00
Freddy Boulton
4d3aad33a0
Fix image upload (#6363)
* Fix upload

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-09 19:57:27 -05:00
Dawood Khan
55fda81fa5
Textbox and Code Component Blur/Focus Fixes (#6323)
* focus and blur events

* format

* add changeset

* fixes

* fixes

* format

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-09 19:20:54 -05:00
Hannah
854b482f59
Redesign file upload (#6356) 2023-11-09 16:52:03 -05:00
Ali Abdalla
294414d9f7
Add sharing to playground (#6351)
* add new page

* sharing

* add changeset

* add some styling

* styling

* rename to blank

* clearer icon

* formatting

* wording

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-09 12:29:40 -08:00
Abubakar Abid
6204ccac59
Fixes gr.load() so it works properly with Images and Examples (#6322)
* changes

* image

* fixes

* examples

* add changeset

* changes

* revert

* add changeset

* fix

* fix test

* modify workflow

* fix

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2023-11-09 08:34:32 -08:00
Abubakar Abid
506ab9e4b4
Fix backend tests on CI (#6330)
* test flaky

* reduce num tests

* fail intenationally

* add back

* revert test changes

* remove coverage

* diff

* fix tests

* format
2023-11-08 19:36:10 -08:00
aliabid94
37dd335e5f
Fix audio streaming output issues in 4.0 (#6343)
* changes

* Update processing_utils.py

* add changeset

* changes

* changes

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-08 14:57:25 -08:00
Abubakar Abid
d64787b885
Fix colorFrom in theme space readmes (#6347)
* red

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-08 14:57:03 -08:00
Yuichiro Tachibana (Tsuchiya)
42f76aeeb7
Add AsyncGenerator to the check-list of dependencies.types.generator (#6333)
* Add AsyncGenerator to the check-list of `dependencies.types.generator`

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-08 23:46:21 +09:00
Freddy Boulton
f1409f95ed
Provide status updates on file uploads (#6307)
* Backend

* Backend

* add changeset

* Clean up + close connection

* Lint

* Fix tests

* Apply opacity transition

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-07 19:02:31 -05:00
pngwn
e9bb445a63
chore: update versions (#6308)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-07 15:50:13 -08:00
Abubakar Abid
20d3335327
minor (#6328) 2023-11-07 15:42:09 -08:00
aliabid94
bca6c2c80f
Restore query parameters in request (#6327)
* changes

* changes

* add changeset

* console

* changes

* changes

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-11-07 15:15:10 -08:00
Freddy Boulton
ed546f2e13
Fix Model3D template (#6326)
* Add test

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-07 15:06:09 -08:00
Freddy Boulton
25e380078a
WIP: Look into functional test flakes (#6312)
* Add code

* trigger ci

* Add await

* format
2023-11-07 14:38:52 -05:00
Hannah
4b1011bab0
Maintain text selection in Chatbot button elements (#6316)
* add user-select to button

* add changeset

* formatting

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-07 11:26:06 -08:00
Hannah
19af2806a5
Add autoplay to waveform_settings (#6317)
* add autoplay to waveform_settings

* add changeset

* add autoplay story

* remove unused autoplay param

* remove reundant params

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-07 11:23:43 -08:00
Abubakar Abid
d3b53a4577
Fix for stylized DataFrame (#6318)
* changes

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-07 11:16:33 -08:00
Hannah
570866a3bd
Hide show API link when in gradio lite (#6320)
* hide show_api button if IS_WASM ist true

* add test

* add changeset

* add changeset

* formatting

* revert ruff change

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-07 17:49:34 +01:00
Hannah
5551d8e439
Fix sources list order in test_components.py (#6321)
* fix sources list ordering

* revert ruff change
2023-11-07 17:22:42 +01:00
Hannah
fad92c29dc
Improve default source behaviour in Audio (#6314)
* change audio param docs and switch default to `upload`

* amend selected source icon colour

* add changeset

* tweak

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-07 14:47:04 +01:00
Abubakar Abid
c561287812
Fix updating choices in gr.Dropdown and updates related to other components (#6309)
* postprocess fix

* add changeset

* add changeset

* blocks

* formatting

* demo

* add changeset

* Add code

* reduce

* trigger ci

* Update gradio/blocks.py

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2023-11-07 04:16:29 -08:00
Hannah
3cdeabc684
Ensure source selection does not get hidden in overflow (#6279)
* add wrapper around content and source selection

* formatting

* remove upload 100% height

* add changeset

* move source selection to atoms

* formatting

* add changeset

* add changeset

* add changeset

* tweak <Upload /> height to accomodate source selection

* add changeset

* calc new height with source selection

* formatting

* tweak

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-07 11:58:34 +01:00
Abubakar Abid
dfdaf10926
Fix data model for gr.DataFrame (#6310)
* datamodel for df

* add changeset

* fix

* Add code

* reduce

* trigger ci

* typing

* union

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2023-11-06 19:04:23 -08:00
Freddy Boulton
0db1e2546a
Mention Custom Components Collection in the guides (#6313)
* mention

* add sentence
2023-11-06 19:07:47 -05:00
Abubakar Abid
176c4d1400
Temporary fix to be able to load themes from Hub (#6311)
* Add code

* push temporary fix for tags

* temp fix

* add changeset

* reduce

* trigger ci

---------

Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-06 15:40:08 -08:00
Srijan Sahay Srivastava
7ab73df48e
fix regarding callable function error (#6294)
* fix regarding callable function error

* add changeset

* fix

* push

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-11-06 12:12:28 -08:00
pngwn
5b5af1899d
remove echo (#6305) 2023-11-06 16:36:34 +00:00
pngwn
1d986217f6
chore: update versions (#6292)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-03 15:56:06 -07:00
Freddy Boulton
92278729ee
Gallery preview fix and optionally skip download of urls in postprcess (#6288)
* Add code

* add changeset

* Use urls from our s3 bucket

* Add notebook code

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-03 18:39:25 -04:00
pngwn
e8216be948
ensure gr.Dataframe updates as expected (#6290)
* ensure Dataframe updates as expected

* add changeset

* add changeset

* ensure Dataframe updates as expected

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-03 22:33:19 +00:00
Freddy Boulton
5668036eef
Fix file upload on windows (#6289)
* use background task

* add changeset

* Add code

* finish comment lol

* lint

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-03 18:15:57 -04:00
Abubakar Abid
36f1972ab1
Add migration tips to 4.0.0 changelog (#6285)
* changelog

* changes

* changelog

* changelog

* changes

* changelog

* clients

* changelog
2023-11-03 14:49:30 -07:00
pngwn
73d7de77e4
chore: update versions (#6200)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-03 12:16:42 -07:00
gradio-pr-bot
5fe091367f add changeset 2023-11-03 16:08:12 +00:00
pngwn
0f3d3e136a handle selected_index prop change for gallery 2023-11-03 16:08:12 +00:00
Freddy Boulton
ac4f2bcded
Remove **kwargs from queue (#6232)
* Rework queue method params

* add changeset

* raise instead

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-03 11:40:24 -04:00
Hannah
e3ede2ff7d
Ensure Model 3D updates when attributes change (#6255)
* trigger scene update when params change

* add changeset

* formatting

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-03 11:57:27 +00:00
renovate[bot]
3ccf1d1f8b
Update dependency msw to v2 (#6270)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-03 10:33:10 +00:00
Abubakar Abid
12d8e90a16
Fixes input Image component with streaming=True (#6272)
* fix streaming

* cleanpu

* add changeset

* fix

* docstrings and tests

* notebooks

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-02 17:38:13 -07:00
Ali Abdalla
de36820ef5
Fix various issues with demos on website (#6268)
* fix demos

* demos on landing page

* make code interactive on playground

* add changeset

* try new secret

* formatting

* fix fake_gan

* demo notebooks

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-11-02 17:35:07 -07:00
Abubakar Abid
e32bac8944
Fix updating interactive prop (#6266)
* interactive

* added functional test

* notebook

* format

* add changeset

* fix

* simplify backend

* simplify backend

* simplify backend

* fix tests

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-02 16:35:27 -07:00
pngwn
8bbeca0e77
Improve Embed and CDN handling and fix a couple of related bugs (#6261)
* fix embed

* add changeset

* fixes

* remove final references to cdn

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-02 22:29:03 +00:00
Freddy Boulton
afb72bd197
Fix bug where radio.select passes the previous value to the function instead of the selected value (#6262)
* ensure radios have different names

* reinstate demo

* fix type

* fix ts error

* Add unit test

* check select

* add changeset

* add changeset

---------

Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-02 16:40:42 -04:00
Freddy Boulton
aaa55ce85e
Video/Audio fixes (#6234)
* Add code

* Add code

* add changeset

* Add code

* Add code

* prevent resetting source when clearing value

* Add code

* Add drag-and-drop tests

* add changeset

* remove console log

* Format

* Add code

* add changeset

* Audio components

* add changeset

* add changeset

* Add return type

* Add code

* promise

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2023-11-02 16:25:09 -04:00
pngwn
6bce259c5d
Ensure gr.CheckboxGroup updates as expected. (#6236)
* asd

* fix

* fix checkboxgroup dispatches

* fix checkboxgroup dispatches

* add changeset

* fix input event

* add tests

* add changeset

* lint

* add selected event test

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-11-02 20:22:30 +00:00
pngwn
2cffcf3c39
ensure radios have different names (#6249)
* ensure radios have different names

* add changeset

* reinstate demo

* fix type

* fix ts error

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-02 20:06:18 +00:00
Dawood Khan
5cddd65880
Fixes: Initial message is overwrtitten in chat interface (#6229)
* fix

* add changeset

* format

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-11-02 12:30:36 -07:00