-
Notifications
You must be signed in to change notification settings - Fork 1
/
caption_api.json
77 lines (77 loc) · 1.39 KB
/
caption_api.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"1": {
"inputs": {
"text_input": "",
"task": "more_detailed_caption",
"fill_mask": true,
"keep_model_loaded": false,
"max_new_tokens": 1024,
"num_beams": 20,
"do_sample": true,
"output_mask_select": "",
"seed": 132049239933176,
"image": [
"6",
0
],
"florence2_model": [
"2",
0
]
},
"class_type": "Florence2Run",
"_meta": {
"title": "Florence2Run"
}
},
"2": {
"inputs": {
"model": "MiaoshouAI/Florence-2-large-PromptGen-v1.5",
"precision": "fp16",
"attention": "eager"
},
"class_type": "DownloadAndLoadFlorence2Model",
"_meta": {
"title": "DownloadAndLoadFlorence2Model"
}
},
"6": {
"inputs": {
"image": "background (32).jpg",
"upload": "image"
},
"class_type": "LoadImage",
"_meta": {
"title": "Load Image"
}
},
"7": {
"inputs": {
"text": [
"1",
2
],
"text2": ""
},
"class_type": "ShowText|pysssss",
"_meta": {
"title": "Show Text 🐍"
}
},
"9": {
"inputs": {
"root_dir": "output",
"file": "caption.txt",
"append": "new only",
"insert": false,
"text": [
"1",
2
]
},
"class_type": "SaveText|pysssss",
"_meta": {
"title": "Save Text 🐍"
}
}
}