Commit Graph

6331 Commits

Author SHA1 Message Date
Abubakar Abid
aa97a5e33a
Improvements to API Docs (#7292)
* escape triple quotes when creating space.py for custom components

* Improve API docs

* add changeset

* revert

* fix

* changes

* add changeset

* fixes

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-05 10:29:03 -08:00
Abubakar Abid
db27df36d2
Escape triple quotes when creating space.py for custom components (#7290)
* escape triple quotes when creating space.py for custom components

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-05 10:06:34 -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
Abubakar Abid
d7095c4699
Number example fix (#7294)
* fix

* add changeset

* fix flaky functional test

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-05 08:55:10 -08:00
Davi Rodrigues
87eedf4e70
fix: Code component not accepting Callable as type on value (#7304) 2024-02-05 08:48:15 -08:00
Aarni Koskela
0fddd0f971
Determine documentation group automatically (#7062) 2024-02-05 17:25:34 +04:00
Freddy Boulton
2e6672c815
Allow start/pause of streaming image input. Only access the webcam while it's needed (#7228) 2024-02-02 18:26:44 +00:00
Cody DeHaan
a3aa22f6f0
Adjust Value to Fix .Label Display (#7276)
* Bug fix

* add changeset

* format

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-02 18:16:04 +00:00
Hannah
757dba66ba
Add show_label check to gr.Dataframe (#7283)
* add show_label check and story test

* add changeset

* formatting

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-02 09:45:59 -08:00
cswamy
0d36ac05aa
Fixes issue with datatype setting in gr.Dataframe. Setting no longer dependent on col_count (#7286)
* fixed

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-02 09:34:16 -08:00
pngwn
a5feb1c8cb
tag and push tags during publish (#7285) 2024-02-02 16:35:36 +00:00
Hannah
5181957706
Add mobile Chromatic tests (#7222)
* Add mobile story tests

* add layout stories

* add changeset

* configure viewports

* formatting

* Remove tablet stories + add plot story

* add changeset

* add mobile tests to layout stories

* fix story

* fix story

---------

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>
2024-02-02 14:21:48 +00:00
Arian Ahmadinejad
fdd15213c2
chore: Change time format (#7274)
* fix: typos

* fix: remove newlines from latex delimiters

* add changeset

* chore: change time format to HH:MM:SS

* add changeset

* Revert "fix: remove newlines from latex delimiters"

This reverts commit cebfabb51c.

* fix: remove accidental changes from different pr

* add changeset

* chore: change time format for player to use global formatting function

* fix: remove pipfile

* chore: use global time formatting for static video player

* chore: change to snake_case

* change

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-02-01 13:23:19 -08:00
cswamy
daaaf9593e
Fixes issues related to gr.Dataframe receiving an empty dataframe (#7257)
* fixed

* tested and formatted

* add changeset

* add changeset

* fixes

* revert

* dataframe

* clean

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-02-01 12:56:43 -08:00
Aarni Koskela
7ea8336709
Remove flag_dir from read_from_flag() (#7059)
* Remove flag_dir from read_from_flag()

* fix

* remove unnecessary ruff exception

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-02-01 12:24:26 -08:00
pngwn
59c50811fb
improve visual ci config (#7275)
* fix

* fix
2024-02-01 20:09:01 +00:00
pngwn
d901b7c807
fix (#7273) 2024-02-01 19:39:12 +00:00
Aarni Koskela
05d8a3c803
Update ruff to 0.1.13, enable more rules, fix issues (#7061)
* add changeset

* Update ruff to version 0.1.13

* Correct ruff target version

* Enable more Ruff rules and fix issues

* Enable ARG and fix issues

* Enable PL lints, fix issues

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-01 11:32:40 -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
Aarni Koskela
dec6a715d6
Fix PIL imports (#7236)
* Only do PIL.Image.init() fix once (image_utils is always imported when dealing with images)

* Normalize import style for `PIL.Image`

Follows up on #7116

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-02-01 10:57:57 -08:00
Aarni Koskela
5d24c356f8
CI: update GitHub Actions versions (#7249)
Co-authored-by: pngwn <hello@pngwn.io>
2024-02-01 18:14:41 +00:00
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