Files
avenstack-ComfyUI-AV-FunASR/example_workflow/av-audio2subtitle-with-prompt.json
T
2025-06-08 16:07:40 +08:00

311 lines
5.7 KiB
JSON

{
"id": "377e0192-2ad2-408a-871c-6a86cf058f73",
"revision": 0,
"last_node_id": 33,
"last_link_id": 50,
"nodes": [
{
"id": 2,
"type": "LoadAudio",
"pos": [
182.18014526367188,
389.2699890136719
],
"size": [
270,
136
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "AUDIO",
"type": "AUDIO",
"links": [
24
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.32",
"Node name for S&R": "LoadAudio"
},
"widgets_values": [
"4_jidaohuman-megatts3_0.flac",
null,
null
]
},
{
"id": 25,
"type": "PrimitiveStringMultiline",
"pos": [
186.9199676513672,
591.9599609375
],
"size": [
260,
163
],
"flags": {
"collapsed": false
},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
47,
48
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.32",
"Node name for S&R": "PrimitiveStringMultiline"
},
"widgets_values": [
"直观来说,测试时试错的步骤只有当能带来信息增益的情况下才有益,然而人们并没有在RL训练中告诉模型试错和反思带来的信息增益。"
]
},
{
"id": 18,
"type": "AVSpeechTimestamp",
"pos": [
489.56988525390625,
374.6600341796875
],
"size": [
210,
128
],
"flags": {
"collapsed": false
},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "audio",
"type": "AUDIO",
"link": 24
},
{
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": 47
}
],
"outputs": [
{
"name": "text",
"type": "STRING",
"links": []
},
{
"name": "json_result",
"type": "STRING",
"links": []
},
{
"name": "asr_result",
"type": "ASRRESULT",
"links": [
43
]
}
],
"properties": {
"Node name for S&R": "AVSpeechTimestamp"
},
"widgets_values": [
"",
false
]
},
{
"id": 30,
"type": "AVFormat2Subtitle",
"pos": [
518.5700073242188,
561.3599853515625
],
"size": [
210,
88
],
"flags": {
"collapsed": false
},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "asr_result",
"type": "ASRRESULT",
"link": 43
},
{
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": 48
}
],
"outputs": [
{
"name": "subtitle",
"type": "STRING",
"links": [
45,
50
]
}
],
"properties": {
"Node name for S&R": "AVFormat2Subtitle"
},
"widgets_values": [
""
]
},
{
"id": 31,
"type": "AVSaveSubtitles",
"pos": [
778.79541015625,
357.02178955078125
],
"size": [
270,
82
],
"flags": {
"collapsed": true
},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "subtitles",
"type": "STRING",
"widget": {
"name": "subtitles"
},
"link": 45
}
],
"outputs": [],
"properties": {
"Node name for S&R": "AVSaveSubtitles"
},
"widgets_values": [
"",
"subtitles"
]
},
{
"id": 33,
"type": "Bjornulf_ShowText",
"pos": [
814.5744018554688,
427.3533935546875
],
"size": [
650.6199951171875,
437.7900085449219
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "text_value",
"type": "STRING",
"link": 50
}
],
"outputs": [],
"properties": {
"cnr_id": "bjornulf_custom_nodes",
"ver": "1.0.0",
"Node name for S&R": "Bjornulf_ShowText"
},
"widgets_values": [
"1\n00:00:00,170 --> 00:00:02,330\n直观来说 测试时试错的步骤\n\n2\n00:00:02,330 --> 00:00:04,590\n只有当能带来信息增益的情况下才有益\n\n3\n00:00:04,590 --> 00:00:06,870\n然而人们并没有在RL训练\n\n4\n00:00:06,870 --> 00:00:09,330\n中告诉模型试错和反思带来的信息增益\n\n5\n00:00:09,330 --> 00:00:09,470\n\n\n"
]
}
],
"links": [
[
24,
2,
0,
18,
0,
"AUDIO"
],
[
43,
18,
2,
30,
0,
"ASRRESULT"
],
[
45,
30,
0,
31,
0,
"STRING"
],
[
47,
25,
0,
18,
1,
"STRING"
],
[
48,
25,
0,
30,
1,
"STRING"
],
[
50,
30,
0,
33,
0,
"STRING"
]
],
"groups": [],
"config": {},
"extra": {
"frontendVersion": "1.18.9",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}