gradio/js/video
Greysuki 54af6ae290
Adding subtitles to gr.Video (#3673)
* v2 version now accepts video and subtitle format inputs.

* remove debug log and some format issue

* Update CHANGELOG.md

* Upload components.py and regenerate demo

* fix components and add comment to function

* fix postprocess return format

* changelog

* demo change to gr.Interface type

* fix file_types

* fixes

* added video serializer

* clean up preprocess

* clean up postprocess

* formatting

* frontend

* fixed serialization

* dataclass

* fix serialize

* version

* fix tests

* version

* changelog

* typing

* version

* changelog

* version

* versin

* fix tests

* fix tests

* backend

* test

* changes

* relax test

* fix demo

* notebook

* changes

* fix

* changes

* Update gradio/components.py

* Update client/python/gradio_client/client.py

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Ali Abid <aabid94@gmail.com>
2023-04-11 16:06:48 -07:00
..
src Adding subtitles to gr.Video (#3673) 2023-04-11 16:06:48 -07:00
package.json move files (#3605) 2023-03-27 16:12:58 -07:00
README.md move files (#3605) 2023-03-27 16:12:58 -07:00

@gradio/button

<script>
	import { Button } from "@gradio/button";
</script>

<button type="primary|secondary" href="string" on:click="{e.detail === href}">
	content
</button>