Files
2024-08-15 09:31:59 +08:00

321 lines
5.5 KiB
JSON

{
"last_node_id": 8,
"last_link_id": 18,
"nodes": [
{
"id": 4,
"type": "ShowText|pysssss",
"pos": [
2341,
217
],
"size": {
"0": 363.5802307128906,
"1": 111.53561401367188
},
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "text",
"type": "STRING",
"link": 11,
"widget": {
"name": "text"
},
"label": "text"
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": null,
"shape": 6,
"label": "STRING"
}
],
"properties": {
"Node name for S&R": "ShowText|pysssss"
},
"widgets_values": [
"",
"好雨知时节当春乃发生随风潜入夜润物细无声"
]
},
{
"id": 5,
"type": "ShowText|pysssss",
"pos": [
2340,
384
],
"size": {
"0": 374.2001953125,
"1": 128.62522888183594
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "text",
"type": "STRING",
"link": 12,
"widget": {
"name": "text"
},
"label": "text"
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": null,
"shape": 6,
"label": "STRING"
}
],
"properties": {
"Node name for S&R": "ShowText|pysssss"
},
"widgets_values": [
"",
"A good rain knows the season and falls in spring. It sneaks into the night with the wind and moistens things silently."
]
},
{
"id": 3,
"type": "LoadAudio",
"pos": [
1505,
209
],
"size": {
"0": 315,
"1": 124
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "AUDIO",
"type": "AUDIO",
"links": [
7
],
"shape": 3,
"label": "AUDIO",
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "LoadAudio"
},
"widgets_values": [
"chunwang.wav",
null,
""
]
},
{
"id": 8,
"type": "MooER_LoadModel",
"pos": [
1527,
434
],
"size": {
"0": 315,
"1": 266
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "model",
"type": "MODEL",
"links": [
16
],
"shape": 3,
"label": "model",
"slot_index": 0
},
{
"name": "tokenizer",
"type": "MODEL",
"links": [
17
],
"shape": 3,
"label": "tokenizer"
},
{
"name": "cmvn",
"type": "MODEL",
"links": [
18
],
"shape": 3,
"label": "cmvn"
}
],
"properties": {
"Node name for S&R": "MooER_LoadModel"
},
"widgets_values": [
"Qwen/Qwen2-7B-Instruct",
"none",
"mtspeech/MooER-MTL-5K",
"none",
false,
false,
"paraformer",
"ASR_AST"
]
},
{
"id": 6,
"type": "MooER_Sampler",
"pos": [
1930,
282
],
"size": {
"0": 372.4902038574219,
"1": 216.87916564941406
},
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "audio",
"type": "AUDIO",
"link": 7,
"label": "audio"
},
{
"name": "model",
"type": "MODEL",
"link": 16,
"label": "model",
"slot_index": 1
},
{
"name": "tokenizer",
"type": "MODEL",
"link": 17,
"label": "tokenizer",
"slot_index": 2
},
{
"name": "cmvn",
"type": "MODEL",
"link": 18,
"label": "cmvn",
"slot_index": 3
}
],
"outputs": [
{
"name": "ASR_text",
"type": "STRING",
"links": [
11
],
"shape": 3,
"label": "ASR_text",
"slot_index": 0
},
{
"name": "AST_text",
"type": "STRING",
"links": [
12
],
"shape": 3,
"label": "AST_text",
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "MooER_Sampler"
},
"widgets_values": [
"Transcribe speech to text. ",
"Translate speech to english text.",
"none",
2,
"asr"
]
}
],
"links": [
[
7,
3,
0,
6,
0,
"AUDIO"
],
[
11,
6,
0,
4,
0,
"STRING"
],
[
12,
6,
1,
5,
0,
"STRING"
],
[
16,
8,
0,
6,
1,
"MODEL"
],
[
17,
8,
1,
6,
2,
"MODEL"
],
[
18,
8,
2,
6,
3,
"MODEL"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1.3310000000000004,
"offset": [
-1441.638090181835,
-93.83689079148428
]
}
},
"version": 0.4
}