gradio/test/test_files/s1.srt
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

28 lines
369 B
Plaintext

0
0:00:00.000 --> 0:00:00.500
A
1
0:00:00.500 --> 0:00:01.000
B
2
0:00:01.000 --> 0:00:01.500
C
3
0:00:01.500 --> 0:00:02.000
D
4
0:00:02.000 --> 0:00:02.500
E
5
0:00:02.500 --> 0:00:03.000
F
6
0:00:03.000 --> 0:00:10.000
This is multiple line test. \nWhy did the tomato turn red? Because it saw the salad dressing. \nIn Africa, every 60 seconds a minute passes