Skip to content

Commit 847e803

Browse files
committed
add json workflows
1 parent 41012c2 commit 847e803

77 files changed

Lines changed: 55318 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 327 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,327 @@
1+
{
2+
"id": "b3ef4088-8fff-4a6d-95aa-5c729434beac",
3+
"revision": 0,
4+
"last_node_id": 52,
5+
"last_link_id": 45,
6+
"nodes": [
7+
{
8+
"id": 43,
9+
"type": "LoadFasterWhisperModel",
10+
"pos": [
11+
-217,
12+
-35
13+
],
14+
"size": [
15+
315,
16+
82
17+
],
18+
"flags": {},
19+
"order": 0,
20+
"mode": 0,
21+
"inputs": [],
22+
"outputs": [
23+
{
24+
"name": "faster_whisper_model",
25+
"type": "FASTERWHISPERMODEL",
26+
"slot_index": 0,
27+
"links": [
28+
41
29+
]
30+
}
31+
],
32+
"properties": {
33+
"cnr_id": "comfyui-faster-whisper",
34+
"ver": "1.0.0",
35+
"Node name for S&R": "LoadFasterWhisperModel"
36+
},
37+
"widgets_values": [
38+
"large-v2",
39+
"cuda"
40+
]
41+
},
42+
{
43+
"id": 44,
44+
"type": "Note",
45+
"pos": [
46+
706.436279296875,
47+
281.6055603027344
48+
],
49+
"size": [
50+
361.1064453125,
51+
88
52+
],
53+
"flags": {},
54+
"order": 1,
55+
"mode": 0,
56+
"inputs": [],
57+
"outputs": [],
58+
"properties": {
59+
"text": ""
60+
},
61+
"widgets_values": [
62+
"Since I can not use None value as default in ComfyUI, \n\nI used `-999` and empty strings as None value in some parameters."
63+
],
64+
"color": "#432",
65+
"bgcolor": "#653"
66+
},
67+
{
68+
"id": 47,
69+
"type": "InputFilePath",
70+
"pos": [
71+
-214,
72+
-223
73+
],
74+
"size": [
75+
315,
76+
58
77+
],
78+
"flags": {},
79+
"order": 2,
80+
"mode": 0,
81+
"inputs": [],
82+
"outputs": [
83+
{
84+
"name": "filepath",
85+
"type": "FILEPATH",
86+
"slot_index": 0,
87+
"links": [
88+
40
89+
]
90+
}
91+
],
92+
"properties": {
93+
"cnr_id": "comfyui-faster-whisper",
94+
"ver": "1.0.0",
95+
"Node name for S&R": "InputFilePath"
96+
},
97+
"widgets_values": [
98+
"/data/input/speaker_0.mp3"
99+
]
100+
},
101+
{
102+
"id": 41,
103+
"type": "FasterWhisperToSubtitle",
104+
"pos": [
105+
588,
106+
-356
107+
],
108+
"size": [
109+
355.20001220703125,
110+
58
111+
],
112+
"flags": {},
113+
"order": 5,
114+
"mode": 0,
115+
"inputs": [
116+
{
117+
"name": "transcriptions",
118+
"type": "TRANSCRIPTIONS",
119+
"link": 42
120+
}
121+
],
122+
"outputs": [
123+
{
124+
"name": "subtitle text",
125+
"type": "SUBTITLE",
126+
"slot_index": 0,
127+
"links": [
128+
45
129+
]
130+
}
131+
],
132+
"properties": {
133+
"cnr_id": "comfyui-faster-whisper",
134+
"ver": "1.0.0",
135+
"Node name for S&R": "FasterWhisperToSubtitle"
136+
},
137+
"widgets_values": [
138+
".srt"
139+
]
140+
},
141+
{
142+
"id": 42,
143+
"type": "SaveSubtitle",
144+
"pos": [
145+
1164.26708984375,
146+
-357.3756103515625
147+
],
148+
"size": [
149+
433.5819396972656,
150+
83.99053192138672
151+
],
152+
"flags": {},
153+
"order": 6,
154+
"mode": 0,
155+
"inputs": [
156+
{
157+
"name": "subtitle",
158+
"type": "SUBTITLE",
159+
"link": 45
160+
}
161+
],
162+
"outputs": [
163+
{
164+
"name": "output_path",
165+
"type": "STRING",
166+
"links": []
167+
}
168+
],
169+
"properties": {
170+
"cnr_id": "comfyui-faster-whisper",
171+
"ver": "1.0.0",
172+
"Node name for S&R": "SaveSubtitle"
173+
},
174+
"widgets_values": [
175+
"Subtitle"
176+
]
177+
},
178+
{
179+
"id": 45,
180+
"type": "Note",
181+
"pos": [
182+
752.3567504882812,
183+
-200.80752563476562
184+
],
185+
"size": [
186+
352.7720642089844,
187+
368.7601013183594
188+
],
189+
"flags": {},
190+
"order": 3,
191+
"mode": 0,
192+
"inputs": [],
193+
"outputs": [],
194+
"properties": {
195+
"text": ""
196+
},
197+
"widgets_values": [
198+
"<= The source language is automatically detected.\nIf you want to enter it manually, refer to these language codes:\n\n{\n \"Afrikaans\": \"af\",\n \"Amharic\": \"am\",\n \"Arabic\": \"ar\",\n \"Assamese\": \"as\",\n \"Azerbaijani\": \"az\",\n \"Bashkir\": \"ba\",\n \"Belarusian\": \"be\",\n \"Bulgarian\": \"bg\",\n \"Bengali\": \"bn\",\n \"Tibetan\": \"bo\",\n \"Breton\": \"br\",\n \"Bosnian\": \"bs\",\n \"Catalan\": \"ca\",\n \"Czech\": \"cs\",\n \"Welsh\": \"cy\",\n \"Danish\": \"da\",\n \"German\": \"de\",\n \"Greek\": \"el\",\n \"English\": \"en\",\n \"Spanish\": \"es\",\n \"Estonian\": \"et\",\n \"Basque\": \"eu\",\n \"Persian\": \"fa\",\n \"Finnish\": \"fi\",\n \"Faroese\": \"fo\",\n \"French\": \"fr\",\n \"Galician\": \"gl\",\n \"Gujarati\": \"gu\",\n \"Hausa\": \"ha\",\n \"Hawaiian\": \"haw\",\n \"Hebrew\": \"he\",\n \"Hindi\": \"hi\",\n \"Croatian\": \"hr\",\n \"Haitian Creole\": \"ht\",\n \"Hungarian\": \"hu\",\n \"Armenian\": \"hy\",\n \"Indonesian\": \"id\",\n \"Icelandic\": \"is\",\n \"Italian\": \"it\",\n \"Japanese\": \"ja\",\n \"Javanese\": \"jw\",\n \"Georgian\": \"ka\",\n \"Kazakh\": \"kk\",\n \"Khmer\": \"km\",\n \"Kannada\": \"kn\",\n \"Korean\": \"ko\",\n \"Latin\": \"la\",\n \"Luxembourgish\": \"lb\",\n \"Lingala\": \"ln\",\n \"Lao\": \"lo\",\n \"Lithuanian\": \"lt\",\n \"Latvian\": \"lv\",\n \"Malagasy\": \"mg\",\n \"Maori\": \"mi\",\n \"Macedonian\": \"mk\",\n \"Malayalam\": \"ml\",\n \"Mongolian\": \"mn\",\n \"Marathi\": \"mr\",\n \"Malay\": \"ms\",\n \"Maltese\": \"mt\",\n \"Burmese\": \"my\",\n \"Nepali\": \"ne\",\n \"Dutch\": \"nl\",\n \"Norwegian Nynorsk\": \"nn\",\n \"Norwegian\": \"no\",\n \"Occitan\": \"oc\",\n \"Punjabi\": \"pa\",\n \"Polish\": \"pl\",\n \"Pashto\": \"ps\",\n \"Portuguese\": \"pt\",\n \"Romanian\": \"ro\",\n \"Russian\": \"ru\",\n \"Sanskrit\": \"sa\",\n \"Sindhi\": \"sd\",\n \"Sinhala\": \"si\",\n \"Slovak\": \"sk\",\n \"Slovenian\": \"sl\",\n \"Shona\": \"sn\",\n \"Somali\": \"so\",\n \"Albanian\": \"sq\",\n \"Serbian\": \"sr\",\n \"Sundanese\": \"su\",\n \"Swedish\": \"sv\",\n \"Swahili\": \"sw\",\n \"Tamil\": \"ta\",\n \"Telugu\": \"te\",\n \"Tajik\": \"tg\",\n \"Thai\": \"th\",\n \"Turkmen\": \"tk\",\n \"Tagalog\": \"tl\",\n \"Turkish\": \"tr\",\n \"Tatar\": \"tt\",\n \"Ukrainian\": \"uk\",\n \"Urdu\": \"ur\",\n \"Uzbek\": \"uz\",\n \"Vietnamese\": \"vi\",\n \"Yiddish\": \"yi\",\n \"Yoruba\": \"yo\",\n \"Chinese\": \"zh\",\n \"Cantonese\": \"yue\"\n}\n"
199+
],
200+
"color": "#432",
201+
"bgcolor": "#653"
202+
},
203+
{
204+
"id": 49,
205+
"type": "FasterWhisperTranscription",
206+
"pos": [
207+
193,
208+
-226
209+
],
210+
"size": [
211+
388,
212+
822
213+
],
214+
"flags": {},
215+
"order": 4,
216+
"mode": 0,
217+
"inputs": [
218+
{
219+
"name": "audio",
220+
"type": "FILEPATH",
221+
"link": 40
222+
},
223+
{
224+
"name": "model",
225+
"type": "FASTERWHISPERMODEL",
226+
"link": 41
227+
}
228+
],
229+
"outputs": [
230+
{
231+
"name": "transcriptions",
232+
"type": "TRANSCRIPTIONS",
233+
"slot_index": 0,
234+
"links": [
235+
42
236+
]
237+
}
238+
],
239+
"properties": {
240+
"cnr_id": "comfyui-faster-whisper",
241+
"ver": "1.0.0",
242+
"Node name for S&R": "FasterWhisperTranscription"
243+
},
244+
"widgets_values": [
245+
"auto",
246+
"transcribe",
247+
5,
248+
-1,
249+
0.6,
250+
5,
251+
1,
252+
0,
253+
2.4,
254+
1,
255+
1,
256+
0,
257+
"",
258+
true,
259+
"[-1]",
260+
1,
261+
false,
262+
"\"'“¿([{-",
263+
"\"'.。,,!!??::”)]}、",
264+
-999,
265+
-999,
266+
-999,
267+
"",
268+
-999,
269+
1,
270+
0.5,
271+
true,
272+
"",
273+
false,
274+
false,
275+
"",
276+
"0"
277+
]
278+
}
279+
],
280+
"links": [
281+
[
282+
40,
283+
47,
284+
0,
285+
49,
286+
0,
287+
"FILEPATH"
288+
],
289+
[
290+
41,
291+
43,
292+
0,
293+
49,
294+
1,
295+
"FASTERWHISPERMODEL"
296+
],
297+
[
298+
42,
299+
49,
300+
0,
301+
41,
302+
0,
303+
"TRANSCRIPTIONS"
304+
],
305+
[
306+
45,
307+
41,
308+
0,
309+
42,
310+
0,
311+
"SUBTITLE"
312+
]
313+
],
314+
"groups": [],
315+
"config": {},
316+
"extra": {
317+
"ds": {
318+
"scale": 0.9849732675807631,
319+
"offset": [
320+
226.2526158028488,
321+
623.6151114583139
322+
]
323+
},
324+
"frontendVersion": "1.17.11"
325+
},
326+
"version": 0.4
327+
}

0 commit comments

Comments
 (0)