Commit Graph

6209 Commits

Author SHA1 Message Date
pngwn
9fa0a1ce1c
fix (#7268) 2024-02-01 17:08:08 +00:00
pngwn
84249043b4
fix timeout (#7266) 2024-02-01 14:23:59 +00:00
pngwn
f1e1c2083c
Fix ci cache (#7262)
* fix

* fix

* fix

* format tweaks

* add changeset

* tweaks

* tweaks

* tweaks

* tweaks

* tweaks

* tweaks

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-01 13:27:54 +00:00
pngwn
e983c1c80e
Fix ci cache (#7261)
* fix

* fix

* fix

* format tweaks

* add changeset

* tweaks

* tweaks

* tweaks

* tweaks

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-01 13:15:15 +00:00
pngwn
5df96c5b09
Fix ci cache (#7260)
* fix

* fix

* fix

* format tweaks

* add changeset

* tweaks

* tweaks

* tweaks

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-01 13:07:03 +00:00
pngwn
c37af22ffe
Fix ci cache (#7259)
* fix

* fix

* fix

* format tweaks

* add changeset

* tweaks

* tweaks

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-01 12:56:35 +00:00
pngwn
09257ef1f1
Fix ci cache (#7256)
* fix

* fix

* fix

* format tweaks

* add changeset

* tweaks

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-01 12:49:48 +00:00
pngwn
93728da3ba
Fix ci cache (#7254)
* fix

* fix

* fix
2024-02-01 11:22:55 +00:00
pngwn
dca6068bac
Fix ci cache (#7253)
* fix

* fix
2024-02-01 11:20:55 +00:00
pngwn
fb09d6b3fb
fix (#7252) 2024-02-01 11:18:22 +00:00
pngwn
0b09e1bb2f
Debug ci 2 (#7251)
* changes

* fix

* fix
2024-02-01 10:34:22 +00:00
pngwn
22188e922b
Debug ci 2 (#7250)
* changes

* fix
2024-02-01 10:24:15 +00:00
pngwn
46f2ffc99d
fixes (#7248) 2024-02-01 02:10:34 +00:00
pngwn
6bfb375d20
Fix ciasdasd (#7246)
* fixes

* asdasd

* fixes

* fixes
2024-02-01 01:39:27 +00:00
pngwn
213650b92b
Fix ciasdasd (#7245)
* fixes

* asdasd

* fixes
2024-02-01 01:26:19 +00:00
pngwn
43579539a9
Fix ciasdasd (#7244)
* fixes

* asdasd
2024-02-01 01:14:27 +00:00
pngwn
d1b5c7a946
fixes (#7243) 2024-02-01 01:06:39 +00:00
pngwn
4cfd8dcde8
Make ci work (#7233)
* update ci

* test

* test

* test

* test

* test

* test

* test

* test

* editable install

* editable install

* escape backslashes for bash

* escape backslashes for bash

* only generate website json in linux

* that was stupiud

* check ci still works

* please work

* pretty please?

* errr

* now?

* more

* more

* more

* deploy space

* deploy space

* tweaks

* changes

* tweaks

* tweaks

* tweaks

* tweaks

* tweaks

* final tweaks

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-02-01 00:46:55 +00:00
Abubakar Abid
18937564ab
Small cleanups of Code component (#7240)
* small cleanups of code component

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-31 14:47:18 -08:00
Dawood Khan
c3e61e4f70
Few File component drag and drop (#7141)
* file comp fixes

* add changeset

* test fixes

* undo pr fixes

* add changeset

* file type fix

* format

* final fix

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-31 16:23:11 -05:00
aliabid94
68a54a7a31
Improve chatbot streaming performance with diffs (#7102)
* changes

* add changeset

* changes

* add changeset

* changes

* channges

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* canges

* changes

* changes

* changes

* Update free-moose-guess.md

* changes

---------

Co-authored-by: Ali Abid <aliabid@Alis-MacBook-Pro.local>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2024-01-31 10:39:46 -08:00
Freddy Boulton
6a7e98bfef
Fix hyphen-bug in gradio cc publish (#7229)
* Fix hyphen-bug

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-31 10:33:13 -08:00
renovate[bot]
59b9715f82
chore(deps): update 8bitjonny/gh-get-current-pr action to v3 (#7232)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-31 09:54:08 -08:00
Abubakar Abid
3c8c4ac2db
Document the gr.ParamViewer component, and fix component preprocessing/postprocessing docstrings (#7116)
* add paramviewer to docs

* add changeset

* type fixing

* round to

* format

* revert to make test pass

* remove msg

* add changeset

* annotated image

* annotated image
push

* audio

* changes

* changes

* audio

* audio

* changes

* remove borders from code

* working

* fixes

* add changeset

* formatting

* build fix

* changes

* ls

* more components

* format

* some more

* more

* component

* plots

* buttons

* simple backend

* number

* more

* more

* simple templates

* format

* fixes

* backend

* fix tests

* fix test

* fixes

* formatting

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2024-01-31 09:36:21 -08:00
Abubakar Abid
60078df07f
Fix test requirements to be compatible with python 3.11 (#7225)
* stash pop

* lint fix

* add changeset

* changes

* add changeset

* exclude

* fix

* tokenizers, transformers fix

* changes

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-30 13:30:27 -08:00
Freddy Boulton
cae05c05ec
Fix single file upload display (#7221)
* Fix bug + add buggy story

* add changeset

* story fix

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2024-01-30 15:05:33 -05:00
Aileen Villanueva Lecuona
24157a3602
add background color based on the OS mode (#7117)
* add background color based on the OS mode

* add changeset

* use static css instead

* format

* changes

* changes

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Ali Abid <aliabid@Alis-MacBook-Pro.local>
2024-01-30 11:40:21 -08:00
Hannah
3b8dfc684d
Add visible check to Tab (#7220)
* add visible check to TabItem

* add changeset

* remove hide class

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-30 18:34:53 +00:00
Hannah
faead1403c
Show label in interactive image editor (#7219)
* show label in interative image editor

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-30 15:19:05 +00:00
Shubham raj
aab2a75f06
Allow selecting texts in dataframe cells (#7154)
* bugfix: Enable user-select for texts in editable cell

* 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-01-29 16:51:46 -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
Hannah
e3217b4186
Amend audio waveform colour (#7207)
* change waveform color option types

* tweak waveform color setting

* snake case tweak

* add changeset

* tweak BE test

* tweak component BE test

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-01-29 19:03:38 +01:00
Hannah
efacc7d5cb
Ensure open reactivity in Accordion (#7208)
* ensure `open` reactivity

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-29 18:59:41 +01:00
pngwn
572e360fff
Upload tweak (#7206)
* make uploadprogress display consistently in custom components

* add engines

* add changeset

* add changeset

* bump ci pnpm version

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-01-29 14:53:54 +00: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
2d51a9dbd9
Add missing parameters and docstrings for gr.TabbedInterface (#7190)
* cleanup

* add changeset

* interface

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-27 18:08:14 -08:00
Adam Molnar
fb26be8cfb
small grammar fix (#7191) 2024-01-27 17:23:36 -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
Aarni Koskela
46919c5a47
Defer importing matplotlib (#7157) 2024-01-26 12:24:06 -08:00
Freddy Boulton
9f23b0bc54
Optimize client view_api method (#7178)
* Re-order code

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-26 13:33:37 -05:00
Hannah
ded5256c4a
Fix audio recording events not dispatching (#7158)
* fix audio events and add events test

* add changeset

* add changes to audio demo

* Fix e2e tests

* regenerate notebook

* formatting

* test timeout for e2e

* formatting

* remove value param from stop_recording

* formatting

* fix test

* formatting

* tweak

* test new playwright config

* skip test

* formatting

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-01-26 18:13:27 +01:00
AbhishekKr
9949cdc850
Fix fake_diffusion demo by slider to only have int so range() doesn't fail (#7167)
Signed-off-by: AbhishekKr <abhikumar163@gmail.com>
2024-01-26 11:52:10 -05:00
thiswillbeyourgithub
f2fc1cc81a
docs: more explicit pharsing for gr.on (#7170)
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithub@users.noreply.github.com>
2024-01-26 07:38:33 -08:00
PSEUDOTENSOR / Jonathan McKinney
40e6ddf911
Fixes #7136 -- gradio client iterator can hit finish event before yield all outputs (#7151) 2024-01-25 16:57:30 -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
Freddy Boulton
e7ab4063eb
Fix ParamViewer css (#7130)
* Fix ParamViewer styles

* add changeset

* Fix description background color

* ParamViewer

* bottom border

* tweak

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
2024-01-25 16:11:38 -05:00
pngwn
bc25ec78c1
Cc publish docs (#7162)
* changes

* add changeset

* lint

* tweaks

* fix guide formatting

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-25 19:15:10 +00:00
Arian Ahmadinejad
e86ee804bf
fix: typos (#7161) 2024-01-25 19:05:55 +00:00
pngwn
6ee22dc6a8
Ensure gradio cc publish uploads the documentation space, if it exists. (#7159)
* changes

* add changeset

* lint

* tweaks

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-25 19:03:21 +00:00