Commit Graph

399 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
Abubakar Abid
2c9fd437f8
Some tweaks to the Custom Components Guide (#6243)
* cc guide

* add changeset

* nits

* tweaks

* fix more stories

* Revert "fix more stories"

This reverts commit 712d27fb61.

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-02 12:29:52 -07:00
aliabid94
61c155e9ba
Remove session if browser closed on mobile (#6241)
* changes

* changes

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-02 11:59:29 -07:00
Hannah
d7a1a65590
Fix file overflow and add keyboard navigation to FileExplorer (#5876)
* fix dir overflow and add keyboard navigation

* add changeset

* tweak

* tweak

* deep equal

* tweak

* prevent icon going super small

* empty padding tweak

* formatting

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-02 18:34:59 +00:00
Dylan Ebert
dd901c1b0a
Model3D panning, improved UX (#6240)
* Model3D panning, improved UX

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-01 16:00:55 -07:00
Freddy Boulton
3e31c1752e
Add likeable to config for Chatbot (#6231)
* Add likeable to config

* add changeset

* Add test

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-01 16:32:13 -04:00
Freddy Boulton
4840b4bc29
Add that api routes are automatically named to CHANGELOG. (#6227)
* minor fix

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-01 13:37:07 -04:00
pngwn
27194a987f
Ensure the statustracker for gr.Image displays in static mode (#6213)
* fix image statustracker

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-01 15:54:51 +00:00
pngwn
a4a931dd39
fixFileExplorer preprocess (#6211)
* fix fileexplorer preprocess

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-01 12:50:09 +00:00
Ali Abdalla
fdedc59491
4.0 Website Changes (#6193)
* changelog

* fixes to js docs

* add changeset

* change banner to watch

* one off pin for custom components guides

* add changeset

* fix

* add custom components to header

* add small highlight to 4.0 changelog

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-31 20:59:42 -07:00
pngwn
9e4891c496
chore: update versions (#6192)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-31 15:44:25 +00:00
pngwn
b555bc09ff
fix cdn build (#6191)
* fix cdn build

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-31 15:34:20 +00:00