

chore: add vtt and str output examples
@2019d59b51e9286cfc09060f8daf318a12e7e319
--- faster_whisper_server/config.py
+++ faster_whisper_server/config.py
... | ... | @@ -15,8 +15,35 @@ |
15 | 15 |
TEXT = "text" |
16 | 16 |
JSON = "json" |
17 | 17 |
VERBOSE_JSON = "verbose_json" |
18 |
- # VTT = "vtt" |
|
19 |
- # SRT = "srt" |
|
18 |
+ # NOTE: While inspecting outputs of these formats with `curl`, I noticed there's one or two "\n" inserted at the end of the response. |
|
19 |
+ |
|
20 |
+ # VTT = "vtt" # TODO |
|
21 |
+ # 1 |
|
22 |
+ # 00:00:00,000 --> 00:00:09,220 |
|
23 |
+ # In his video on Large Language Models or LLMs, OpenAI co-founder and YouTuber Andrej Karpathy |
|
24 |
+ # |
|
25 |
+ # 2 |
|
26 |
+ # 00:00:09,220 --> 00:00:12,280 |
|
27 |
+ # likened LLMs to operating systems. |
|
28 |
+ # |
|
29 |
+ # 3 |
|
30 |
+ # 00:00:12,280 --> 00:00:13,280 |
|
31 |
+ # Karpathy said, |
|
32 |
+ # |
|
33 |
+ # SRT = "srt" # TODO |
|
34 |
+ # WEBVTT |
|
35 |
+ # |
|
36 |
+ # 00:00:00.000 --> 00:00:09.220 |
|
37 |
+ # In his video on Large Language Models or LLMs, OpenAI co-founder and YouTuber Andrej Karpathy |
|
38 |
+ # |
|
39 |
+ # 00:00:09.220 --> 00:00:12.280 |
|
40 |
+ # likened LLMs to operating systems. |
|
41 |
+ # |
|
42 |
+ # 00:00:12.280 --> 00:00:13.280 |
|
43 |
+ # Karpathy said, |
|
44 |
+ # |
|
45 |
+ # 00:00:13.280 --> 00:00:19.799 |
|
46 |
+ # I see a lot of equivalence between this new LLM OS and operating systems of today. |
|
20 | 47 |
|
21 | 48 |
|
22 | 49 |
# https://huggingface.co/Systran |
... | ... | @@ -46,7 +73,6 @@ |
46 | 73 |
|
47 | 74 |
|
48 | 75 |
# https://github.com/OpenNMT/CTranslate2/blob/master/docs/quantization.md |
49 |
-# NOTE: `Precision` might be a better name |
|
50 | 76 |
class Quantization(enum.StrEnum): |
51 | 77 |
INT8 = "int8" |
52 | 78 |
INT8_FLOAT16 = "int8_float16" |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?