Commit Graph

4 Commits

Author SHA1 Message Date
meg
de997e67c9
Adds ability to watermark videos via a watermark parameter in Video component (#8900)
* First pass at adding watermark to Video component

* add changeset

* Update video.py

Space.

* Adding demo files

* linting

* Automatically generated notebook generator

* lint

* Changing parentheses in check on whether conversion is needed

* Unimportant comment/spacing changes

* video

* Update gradio/components/video.py

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

* Update gradio/components/video.py

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

* Update video.py

Adding more details on watermark_file.

* Update gradio/components/video.py

Change in and/or statement.

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

* Updating handling of WASM.

* Add paren.

* Minor lint change: if instead of elif

* lint change: spacing

* tweaks

* fixes

* demo

* demos

* notebooks

* notebooks

* remove comments

* video

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-07-29 21:09:38 +00:00
Abubakar Abid
5622331da7
Extend pyright to cover tests as well (#8856)
* add type to test

* ignore certain demos

* notebooks

* type test_video

* more typing

* more typing

* more typing

* add changeset

* more typing

* more

* more

* files

* ds

* ds

* plots

* audio
push

* annotated

* utils

* routes

* iface

* server

* restore

* external

* dep

* components

* chat interface

* fixes

* blocks

* blocks

* blocks

* blocks

* fixes

* fixes

* format

* fix

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-07-21 19:55:18 -07:00
Abubakar Abid
a3d23b43e7
Add loop parameters to gr.Audio and gr.Video (#8806)
* add loop

* changes

* add changeset

* audio player

* fix tests

* test audio

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-07-16 22:05:59 -07:00
Yuichiro Tachibana (Tsuchiya)
0493c66303
Split test/test_components.py into test/components/test_*.py (#8218)
* Split test/test_components.py into test/components/test_*.py

* Remove test/components/conftest.py because what it configures is already defined in pyproject.toml
2024-05-07 16:06:34 +09:00