Commit Graph

6240 Commits

Author SHA1 Message Date
pngwn
2382f741ff
chore: update versions (#7177)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-06 15:19:29 -08:00
Abubakar Abid
8bb0ce2e40
Hotfix for: stt_or_tts demo (#7332)
* fix

* add changeset

* add changeset

* notebooks

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-06 22:34:02 +00:00
aliabid94
edfd05d18d
Expand chatinterface to full window height (#7313)
* changes

* changes

* add changeset

* changes

* changes

* changs

* 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-02-06 13:42:30 -08:00
Yuichiro Tachibana (Tsuchiya)
b3a9c83095
Lite: Wasm-compatible Model3D (#7315)
* Make Model3DUpload.svelte Wasm-compatible

* Make Model3D.svelte Wasm-compatible

* add changeset

* Create <Canvas3D /> and use it from <Model3D /> and <Model3DUpload />

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-02-06 13:22:25 -08:00
Abubakar Abid
aea14c4496
Refactor Inference API and rename it to Serverless Inference Endpoints (#7295)
* changes

* changes

* add changeset

* add changeset

* changes

* all pipelines

* format

* clean

* add examples

* fix audio classification

* format

* format

* fix all pipelines

* fixes

* fixes

* fix tabular

* add changeset

* added future

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-06 12:27:44 -08:00
Hannah
733ca266bb
Ensure examples Images displays as expected (#7325)
* Tweak image size

* add changeset

* add changeset

* fix broken story

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-06 21:02:18 +01:00
Yuichiro Tachibana (Tsuchiya)
b25e95e164
Fix processing_utils.save_url_to_cache() to follow redirects when accessing the URL (#7322)
* Fix `processing_utils.save_url_to_cache()` to follow redirects when accessing the URL

* add changeset

* follow more redirects

* format

* add changeset

* add test

* validate urls

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-02-06 19:46:20 +00:00
Hannah
200e2518e4
Add gr.Image interaction test + gr.ImageEditor interaction test improvement (#7309)
* add source selection interaction story

* add changeset

* add source selection e2e test

* add changeset

* add diff threshold to imageeditor story

* remove redundant <button>

* add changeset

* typo

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-06 11:20:20 -08:00
nopperl
87d510580e
Handle httpx.InvalidURL when setting non-URL article strings (#7319)
* Handle httpx.InvalidURL for non-URL article strings

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-06 18:27:57 +00:00
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