Commit Graph

7251 Commits

Author SHA1 Message Date
Hannah
40c9e396a1 test 2024-10-03 21:24:20 +01:00
Hannah
660a6b06ea test 2024-10-03 17:49:06 +01:00
Hannah
c173cfe54d revert css removal 2024-10-03 17:30:18 +01:00
Hannah
7d01398a62 fix empty message 2024-10-03 17:00:03 +01:00
Hannah
7f39b4aaa8 Merge branch 'chatbot-panels' of github.com:gradio-app/gradio into chatbot-panels 2024-10-03 14:41:02 +01:00
Hannah
3692b6fe9a Merge branch '5.0-dev' into chatbot-panels 2024-10-03 14:40:56 +01:00
Yuichiro Tachibana (Tsuchiya)
f8de5d2f0e
Add Bokeh plot demo (#9423)
* Add Bokeh plot demo

* Update notebook

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-10-02 22:14:05 -07:00
Abubakar Abid
c46fe20f18 yaml lint 2024-10-02 16:54:20 -07:00
Abubakar Abid
3999afae05
Merge branch 'main' into 5.0-dev 2024-10-02 16:53:04 -07:00
Abubakar Abid
861f5e97ff
Fix node process to run with correct server name (#9506)
* fix node process

* add changeset

* add changeset

* format

* cleanup

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-02 16:22:34 -07:00
Abubakar Abid
cc9674b101
test semgrep 2 (#9509)
* test semgrep 2

* add changeset

* status

* add yml
:

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-02 16:11:50 -07:00
Hannah
c9f37f8310
Merge branch '5.0-dev' into chatbot-panels 2024-10-03 00:00:17 +01:00
Abubakar Abid
b25a64e98b
test semgrep in ci (#9507)
* test

* add changeset

* add token

* add filter

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-02 15:58:01 -07:00
Abubakar Abid
8ff76dbfcd
Add Semgrep to CI (#9498)
* semgrep

* Update semgrep.yml

* ci
2024-10-02 15:52:45 -07:00
Hannah
971d3c7828 Merge branch 'chatbot-panels' of github.com:gradio-app/gradio into chatbot-panels 2024-10-02 22:43:52 +01:00
Hannah
50736284eb reduce message padding 2024-10-02 22:43:36 +01:00
Hannah
991883e217
Improve gr.Code (#9450)
* fix check icon on download

* * apply unused min_width param
* improve gutter spacing

* hide `BlockLabel` spacing if `show_label` is false

* format

* tweak spacing, remove `fit-content`

* add changeset

* revert height change

* fix

* allow setting max_lines to None

* add line wrapping

* add wrap lines param

* fix type error

* fix py test

* fix type check

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-02 21:51:24 +01:00
Hannah
3168150d9d
Merge branch '5.0-dev' into chatbot-panels 2024-10-02 19:05:21 +01:00
Hannah
d054262f61
Centre components within Block when height and width are set (#9504)
* add centering margin

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-02 19:03:13 +01:00
Hannah
e8dee9746d fix typecheck 2024-10-02 13:03:57 +01:00
Hannah
740f9864af fix type check 2024-10-02 12:27:39 +01:00
Hannah
a21267ef0a Merge branch '5.0-dev' into chatbot-panels 2024-10-02 11:24:27 +01:00
aliabid94
1647ebddc3
UI theme fixes (#9496)
* changes

* add changeset

* changes

* changes

* add changeset

* changes

---------

Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-10-01 21:36:49 -07:00
Dawood Khan
4e6a47f5a2
Fixes: Chatbot examples for custom chatbot + rename suggestions -> examples (#9488)
* fix

* add changeset

* notebooks

* fixes

* fix

* type fix

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-10-01 21:30:33 -07:00
gradio-pr-bot
d54ffac2b3 add changeset 2024-10-02 00:31:40 +00:00
Hannah
f81aff4ab8 Merge branch '5.0-dev' into chatbot-panels 2024-10-02 01:30:45 +01:00
Hannah
4a8fd5c68c fix panel mode and upate chatbot buttons 2024-10-02 01:09:16 +01:00
Freddy Boulton
488ef768cc
Fix custom component CLI unit tests (#9495)
* fix

* fix audio test

* fix template

* add changeset

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-01 12:58:53 -07:00
pngwn
a17c7b6e01
Ensure media queries work for SSR mode (#9428)
* asd

* asd

* fix

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-10-01 20:37:21 +01:00
Dawood Khan
7065e11e46
Check for file_types parameter in the backend (#9431)
* file check fix

* format

* add changeset

* tests

* add changeset

* Update gradio/components/file.py

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

* Update client/python/gradio_client/utils.py

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

* fixes

* fixes

* test fix

* test fix

* test

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-10-01 13:12:47 -04:00
Hannah
23f7cc7c79 separate component logic out and add message component 2024-10-01 18:09:49 +01:00
Abubakar Abid
c307a0c9b8
Minor fixes to docs and a demo (#9493)
* small things

* docstring

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-01 09:56:17 -07:00
Yuichiro Tachibana (Tsuchiya)
d958bfa919
Fix prettierignore (#9486) 2024-10-01 13:17:09 +09:00
Yuichiro Tachibana (Tsuchiya)
7352a89722
Playground requirements tab (#9460)
* Add a tab navigation to the playground so the user can specify the requirement packages

* Add Transformers.js.py demo and fix the playground to install the requirements immediately after switching the demo

* add changeset

* Format

* add changeset

* Fix preview flex

* Add requirements to the share link and deploy to Spaces buttons

* Add requirements.txt to each demo

* Format

* Update notebooks

* Fix

* Update

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2024-10-01 10:43:33 +09:00
Hannah
2510a6e978
Fix slider-color var (#9481)
* fix slider-color

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-09-30 14:32:27 -07:00
Gradio PR Bot
2304217df4
chore: update versions (beta) (#9476)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-30 12:59:06 -07:00
Abubakar Abid
b40613928c
Add support for 3rd party providers to gr.load, and provide a better UX for conversational models (#9470)
* changes

* add changeset

* changes

* changes

* docstring

* chatbot

* changes

* fix test

* format

* add changeset

* update req

* remove conversational

* add changeset

* remove args

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-09-30 12:40:02 -07:00
Gradio PR Bot
a381c35785
chore: update versions (#9380)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-30 10:44:55 -07:00
Hannah
3eb952072c fix avatar margins 2024-09-30 18:23:39 +01:00
Abubakar Abid
7894e15919
changesets (#9479) 2024-09-30 08:31:59 -07:00
Abubakar Abid
00d18463ff
fix exports in main (#9478)
* fix exports

* add changeset

* format

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-09-30 08:22:19 -07:00
aliabid94
30d13ac8a9
Pre/post-processing download requests (#9383)
* changes

* add changeset

* changes

* change

* changes

* changes

* changes

* changes

* change

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* Update gradio/processing_utils.py

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

* changes

* changes

* changes

* changes

* changes

* changes

* Fix Lite's ASGI receiver to convert memoryview to bytes as the multipart parser called in 98cbcaef82/gradio/route_utils.py (L650) calls bytes.find() and memoryview objects don't have the method

* add changeset

* Fix async_get_with_secure_transport to use the unsecure but Pyodide-compatible transport in the case of Wasm

---------

Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Yuichiro Tachibana (Tsuchiya) <t.yic.yt@gmail.com>
2024-09-30 08:02:37 -07:00
pngwn
3ac5d9c972
Fix plots (#9464)
* fix

* add changeset

* lint

* clean

* ts

* format

* add changeset

* format

* remove test that is wrong

* fixxxxxx

* add changeset

* format

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-09-30 07:38:27 -07:00
Col0ring
36d6636719
Fix package.json exports of @gradio/preview (#9468)
* Fix package.json exports of @gradio/preview

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-09-30 07:24:50 -07:00
Abubakar Abid
7fc5e26f80 format 2024-09-30 07:06:40 -07:00
Gradio PR Bot
3d93464fd6
chore: update versions (beta) (#9420)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-29 11:12:56 -07:00
Joodith
f7c3396f55
Fix. Triggered dataframe change event for header change (#9469)
* Fix. Triggered dataframe change event for header change

* add changeset

* lint

* add changeset

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-09-29 08:27:19 -07:00
Ali Abdalla
b622b1fcce
Improve UI on the Playground (#9462)
* ai prompt always there

* fix overflow

* better ui and suggested prompts

* cancel generation and showing erro

* formatting

* add changeset

* fix height issue and button

* changes

* fix

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-09-28 15:33:32 +04:00
Freddy Boulton
018c140ef8
Start/stop recoding from the backend. Add guide on conversational chatbots (#9419)
* Add code

* stop displatch

* first draft

* edit

* add changeset

* lint

* Docstring

* Make recording

* fix video

* fix guide link

* redirect

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-09-27 18:10:25 -04:00
Freddy Boulton
4d75f029aa
Update object detection guide (#9456)
* First draft

* Add code

* update guide

* add changeset

* revert

* edits

* Add code

* notebooks

* fix code

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-09-27 15:18:04 -04:00